MethodNotFound
Less than 1 minute
MethodNotFound
Thrown when the client calls an RPC method this server does not implement.
class MethodNotFound extends \Hazaar\MCP\Exception\ProtocolErrorExtends: Hazaar\MCP\Exception\ProtocolError
Sent with HTTP 404 rather than 200, which is what lets a client tell a modern MCP endpoint that lacks the method apart from a legacy server that does not host the endpoint at all.
Methods
__construct
public __construct(string $method): voidParameters
| Parameter | Type | Description |
|---|---|---|
$method | string |
Generated by Hazaar API Doc Generator on Sun, 23 Aug 2026 10:49:44 +0000