Skip to content

Documentation / @agentick/mcp / ErrorCodes

Variable: ErrorCodes

const ErrorCodes: object

Defined in: protocol/errors.ts:9

Standard JSON-RPC and MCP-specific error codes.

Type Declaration

INVALID_PARAMS

readonly INVALID_PARAMS: -32602 = -32602

Invalid method parameters.

METHOD_NOT_FOUND

readonly METHOD_NOT_FOUND: -32601 = -32601

Method not found.

SERVER_ERROR

readonly SERVER_ERROR: -32001 = -32001

Server-defined error — used for session errors, rate limiting, etc.

Released under the ISC License.