MCP PHP SDK

RequestException extends Exception

Exception for MCP request failures.

Tags
author

Kyrian Obikwelu koshnawaza@gmail.com

Table of Contents

Properties

$error  : Error|null

Methods

__construct()  : mixed
fromError()  : self
getError()  : Error|null

Properties

Methods

__construct()

public __construct([string $message = '' ][, int $code = 0 ][, Throwable|null $previous = null ][, Error|null $error = null ]) : mixed
Parameters
$message : string = ''
$code : int = 0
$previous : Throwable|null = null
$error : Error|null = null

        
On this page

Search results