Class Nexus\Mcp\Schema\Message\JsonRpcError

final
readonly
extends Message<array{jsonrpc: '2.0', id: (int|non-empty-string), error: template-type<Error, Arrayable, 'T'>}>

A response to a request that indicates an error occurred.

Methods
Methods inherited from Nexus\Mcp\Schema\Message\Message
validateJsonRpc()
Constants inherited from Nexus\Mcp\Schema\Message\JsonRpcMessage
JSON_RPC_VERSION
Properties