Skip to content

Home > intention-kernel > IntentionKernelErrorOptions

IntentionKernelErrorOptions interface ​

Constructor properties for IntentionKernelError.

Signature:

typescript
export interface IntentionKernelErrorOptions

Properties ​

Property

Modifiers

Type

Description

cause?

readonly

unknown

(Optional) Original private cause, intentionally omitted by IntentionKernelError.toJSON().

code

readonly

string

Stable machine-readable failure code.

context?

readonly

ErrorContext

(Optional) JSON-safe diagnostic fields that may be logged.

message

readonly

string

Safe human-readable technical explanation.

retryable

readonly

boolean

Whether a host retry can be safe and meaningful.