MCP Server Framework - v1.0.0
    Preparing search index...

    Interface SerializedError

    Serializable error information for logging and API responses.

    interface SerializedError {
        cause?: string | SerializedError;
        code: string;
        context?: Record<string, unknown>;
        errorId: string;
        mcpCode?: ErrorCode;
        message: string;
        name: string;
        recoveryHint?: string;
        stack?: string;
        statusCode?: number;
        timestamp?: string;
    }
    Index

    Properties

    cause?: string | SerializedError

    Original error that caused this error

    code: string

    Application-specific error code

    context?: Record<string, unknown>

    Additional context for debugging

    errorId: string

    Unique error ID for tracking/support

    mcpCode?: ErrorCode

    MCP error code (if applicable)

    message: string

    Human-readable error message

    name: string

    Error class name

    recoveryHint?: string

    Recovery hint for users

    stack?: string

    Stack trace (development only)

    statusCode?: number

    HTTP status code (if applicable)

    timestamp?: string

    Timestamp of error occurrence