CLIErrorJSON
Shape returned by CLIError.toJSON().
- Import:
@kjanat/dreamcli - Export kind: interface
- Declared in:
src/core/errors/index.ts - Source link:
packages/dreamcli/src/core/errors/index.ts:103
Signatures
ts
interface CLIErrorJSON {}Members
Properties
code
Stable machine-readable identifier for programmatic matching.
ts
code: ErrorCode;details
Structured payload for machine consumers, when available.
ts
details?: Readonly<Record<string, unknown>>;exitCode
Process exit code associated with this error.
ts
exitCode: number;message
Human-readable description of what went wrong.
ts
message: string;name
Error class name (e.g. 'CLIError', 'ParseError').
ts
name: string;suggest
Actionable hint shown to the user, when available.
ts
suggest?: string;