final | |
|---|---|
extends |
AbstractJsonRpcProtocolException |
Thrown when an inbound envelope's shape (request or notification) does not match the shape the method was registered under.
| Methods | ||
|---|---|---|
public
|
__construct(
non-empty-string $method,
non-empty-string $expectedShape,
non-empty-string $receivedShape,
?RequestId $requestId = null,
?Throwable $previous = null,
)
|
# |
public
static
|
getErrorCode(): ProtocolErrorCode
|
# |
| Properties inherited from Nexus\Mcp\Core\Exception\AbstractJsonRpcProtocolException |
|---|
$requestId |