MCP PHP SDK

Exception

Table of Contents

Interfaces

ExceptionInterface

Classes

AuthorizationException
Thrown when a client cannot obtain the credentials a protected MCP server demands.
AuthorizationPendingException
Thrown when a client cannot obtain the credentials a protected MCP server demands.
ConnectionException
Exception for connection failures.
ElicitationException
Exception thrown when an elicitation request fails.
Exception
InvalidArgumentException
LogicException
RequestCancelledException
The caller cancelled a request before the server responded.
RequestException
Exception for MCP request failures.
RootsException
Exception thrown when listing roots fails.
RuntimeException
SamplingException
Exception thrown when a sampling request fails.
TimeoutException
Exception for timeout conditions.
On this page

Search results