Appearance
@loontail/minecraft-kit / RepairFromErrorInput
Type Alias: RepairFromErrorInput
ts
type RepairFromErrorInput = {
error: RepairableErrorLike;
signal?: AbortSignal;
target: Target;
};Defined in: src/types/repair.ts:176
Inputs to kit.repair.fromError({ error, target }). Resume a failed install by deriving the smallest possible RepairPlan from a typed MinecraftKitError thrown by a previous kit.install.run (or any other operation that surfaces the same codes).
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
error | readonly | RepairableErrorLike | src/types/repair.ts:177 |
signal? | readonly | AbortSignal | src/types/repair.ts:179 |
target | readonly | Target | src/types/repair.ts:178 |