Appearance
@loontail/minecraft-kit / RepairFromErrorSupportedCodes
Variable: RepairFromErrorSupportedCodes
ts
const RepairFromErrorSupportedCodes: {
FILESYSTEM_WRITE_ERROR: "FILESYSTEM_WRITE_ERROR";
FORGE_PROCESSOR_FAILED: "FORGE_PROCESSOR_FAILED";
INTEGRITY_HASH_MISMATCH: "INTEGRITY_HASH_MISMATCH";
INTEGRITY_SIZE_MISMATCH: "INTEGRITY_SIZE_MISMATCH";
NETWORK_HTTP_ERROR: "NETWORK_HTTP_ERROR";
NETWORK_TIMEOUT: "NETWORK_TIMEOUT";
};Defined in: src/repair/from-error.ts:26
Error codes from which planRepairFromError can derive a focused repair plan.
Adding a new entry here is non-breaking. Removing or relaxing one is breaking — callers may have written narrow catch blocks that rely on INVALID_INPUT for the unsupported codes.