Expand description
Standard JSON-RPC and MCP error codes.
This module defines error code constants used in JSON-RPC 2.0 responses and MCP-specific error responses.
Constantsยง
- INTERNAL_
ERROR - Internal JSON-RPC error.
- INVALID_
PARAMS - Invalid method parameters.
- INVALID_
REQUEST - The JSON sent is not a valid Request object.
- METHOD_
NOT_ FOUND - The method does not exist.
- PARSE_
ERROR - Invalid JSON was received.
- RESOURCE_
NOT_ FOUND - Resource was not found.
- SERVER_
ERROR_ END - Server error range end.
- SERVER_
ERROR_ START - Server error range start.
- URL_
ELICITATION_ REQUIRED - The server requires a URL-mode elicitation before the request can proceed.
- USER_
REJECTED - The user rejected the operation.