InvalidRequest
Less than 1 minute
InvalidRequest
Thrown when the request body is valid JSON but not a valid JSON-RPC 2.0 message.
class InvalidRequest extends \Hazaar\MCP\Exception\ProtocolErrorExtends: Hazaar\MCP\Exception\ProtocolError
Methods
__construct
public __construct(string $reason = 'The JSON sent is not a valid request object.'): voidParameters
| Parameter | Type | Description |
|---|---|---|
$reason | string |
Generated by Hazaar API Doc Generator on Sun, 23 Aug 2026 10:49:44 +0000