Class Nexus\Mcp\Core\Schema\Error\UnsupportedProtocolVersionError

final
readonly
extends Error<array{code: -32022, message: non-empty-string, data: array{supported: list<string>, requested: string}}>

Returned when the request's protocol version is unknown to the server or unsupported (e.g., a known experimental or draft version the server has chosen not to implement). For HTTP, the response status code MUST be 400 Bad Request.

Methods
Methods inherited from Nexus\Mcp\Core\Schema\Error
jsonSerialize()
Constants
Properties
Properties inherited from Nexus\Mcp\Core\Schema\Error
$code, $message, $data