Class Nexus\Mcp\Core\Schema\Error\HeaderMismatchError

final
readonly
extends Error<array{code: -32020, message: non-empty-string, data?: mixed}>

Returned when a server rejects a request because the values in the HTTP headers do not match the corresponding values in the request body, or because required headers are missing or malformed. For HTTP, the response status code MUST be 400 Bad Request.

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