Stratal API Reference
    Preparing search index...

    Interface ErrorResponse

    interface ErrorResponse {
        code: number;
        message: string;
        metadata?: Record<string, unknown>;
        stack?: string;
        timestamp: string;
    }
    Index

    Properties

    code: number

    Numeric error code for identification and escalation See error-codes.ts for the complete registry

    message: string

    Human-readable error message Fixed per error type, not customizable

    metadata?: Record<string, unknown>

    Additional structured data about the error Only included in development environment

    stack?: string

    Stack trace for debugging Only included in development environment

    timestamp: string

    ISO timestamp when the error occurred