Class Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcErrorResponse

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

A response to a request that indicates an error occurred.

Methods
Constants inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcMessage
JSONRPC_VERSION
Properties