Appearance
@loontail/minecraft-kit / MinecraftKitErrorContext
Type Alias: MinecraftKitErrorContext
ts
type MinecraftKitErrorContext = {
[key: string]: unknown;
actualHash?: string;
actualSize?: number;
exitCode?: number;
expectedHash?: string;
expectedSize?: number;
filePath?: string;
httpStatus?: number;
platform?: string;
url?: string;
version?: string;
};Defined in: src/types/errors.ts:55
Structured context attached to errors. Always safe to serialize via JSON.stringify.
Indexable
ts
[key: string]: unknown