Interface CriticalErrorNotification

Critical error notification. Emitted for fatal errors requiring process termination.

interface CriticalErrorNotification {
    backtest: boolean;
    error: object;
    id: string;
    message: string;
    type: "error.critical";
}

Properties

backtest: boolean

Always false for error notifications (errors are from live context)

error: object

Serialized error object with stack trace and metadata

id: string

Unique notification identifier

message: string

Human-readable error message

type: "error.critical"

Discriminator for type-safe union