Skip to content

@loontail/minecraft-kit v0.8.14 / RepairableErrorLike

Type alias: RepairableErrorLike

ts
type RepairableErrorLike: {
  code: MinecraftKitErrorCode;
  context: Readonly<MinecraftKitErrorContext>;
};

Structural shape of the MinecraftKitError passed to RepairFromErrorInput. Defined here so src/types/ does not need to import the error class from src/core/. Any thrown MinecraftKitError satisfies this shape.

Type declaration

MemberType
codeMinecraftKitErrorCode
contextReadonly<MinecraftKitErrorContext>

Source

src/types/repair.ts:197

MIT License