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

    Variable JsonRpcErrorCodeConst

    JsonRpcErrorCode: {
        INTERNAL_ERROR: -32603;
        INVALID_PARAMS: -32602;
        INVALID_REQUEST: -32600;
        METHOD_NOT_FOUND: -32601;
        PARSE_ERROR: -32700;
        REQUEST_CANCELLED: -32002;
        SERVER_ERROR: -32000;
        SESSION_NOT_FOUND: -32001;
    } = ...

    Standard JSON-RPC 2.0 error codes.

    Range -32700 to -32600: Spec-defined errors Range -32000 to -32099: Implementation-defined server errors

    Type Declaration

    • ReadonlyINTERNAL_ERROR: -32603

      Internal JSON-RPC error

    • ReadonlyINVALID_PARAMS: -32602

      Invalid method parameter(s)

    • ReadonlyINVALID_REQUEST: -32600

      The JSON sent is not a valid Request object

    • ReadonlyMETHOD_NOT_FOUND: -32601

      The method does not exist / is not available

    • ReadonlyPARSE_ERROR: -32700

      Invalid JSON was received by the server

    • ReadonlyREQUEST_CANCELLED: -32002

      Request was cancelled

    • ReadonlySERVER_ERROR: -32000

      Generic server error

    • ReadonlySESSION_NOT_FOUND: -32001

      Session not found or expired