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

    Variable ErrorCodesConst

    ErrorCodes: {
        API_AUTHENTICATION_ERROR: "API_AUTHENTICATION_ERROR";
        API_CLIENT_NOT_CONFIGURED: "API_CLIENT_NOT_CONFIGURED";
        API_ERROR: "API_ERROR";
        CONFIGURATION_ERROR: "CONFIGURATION_ERROR";
        CONNECTION_ERROR: "CONNECTION_ERROR";
        FORBIDDEN: "FORBIDDEN";
        INTERNAL_ERROR: "INTERNAL_ERROR";
        INVALID_REQUEST: "INVALID_REQUEST";
        NOT_FOUND: "NOT_FOUND";
        OPERATION_CANCELLED: "OPERATION_CANCELLED";
        OPERATION_ERROR: "OPERATION_ERROR";
        REGISTRY_ERROR: "REGISTRY_ERROR";
        SERVICE_UNAVAILABLE: "SERVICE_UNAVAILABLE";
        TIMEOUT_ERROR: "TIMEOUT_ERROR";
        UNAUTHORIZED: "UNAUTHORIZED";
        VALIDATION_ERROR: "VALIDATION_ERROR";
    } = ...

    Application-specific error codes.

    Organized by category:

    • Framework errors (generic MCP framework)
    • Generic App errors

    Type Declaration

    • ReadonlyAPI_AUTHENTICATION_ERROR: "API_AUTHENTICATION_ERROR"

      Authentication error

    • ReadonlyAPI_CLIENT_NOT_CONFIGURED: "API_CLIENT_NOT_CONFIGURED"

      Client not configured

    • ReadonlyAPI_ERROR: "API_ERROR"

      API communication error

    • ReadonlyCONFIGURATION_ERROR: "CONFIGURATION_ERROR"

      Configuration is invalid or missing

    • ReadonlyCONNECTION_ERROR: "CONNECTION_ERROR"

      Network connection failed

    • ReadonlyFORBIDDEN: "FORBIDDEN"

      Access denied

    • ReadonlyINTERNAL_ERROR: "INTERNAL_ERROR"

      Internal server error

    • ReadonlyINVALID_REQUEST: "INVALID_REQUEST"

      Invalid request format

    • ReadonlyNOT_FOUND: "NOT_FOUND"

      Requested resource not found

    • ReadonlyOPERATION_CANCELLED: "OPERATION_CANCELLED"

      Operation was cancelled

    • ReadonlyOPERATION_ERROR: "OPERATION_ERROR"

      Operation failed

    • ReadonlyREGISTRY_ERROR: "REGISTRY_ERROR"

      Registry error (tool/resource/prompt)

    • ReadonlySERVICE_UNAVAILABLE: "SERVICE_UNAVAILABLE"

      Service unavailable

    • ReadonlyTIMEOUT_ERROR: "TIMEOUT_ERROR"

      Request timeout

    • ReadonlyUNAUTHORIZED: "UNAUTHORIZED"

      Authentication failed

    • ReadonlyVALIDATION_ERROR: "VALIDATION_ERROR"

      Input validation failed