Documentation

GraphClientException extends GraphException

Class GraphClientException

Tags
copyright

2021 Microsoft Corporation

license

https://opensource.org/licenses/MIT MIT License

link
https://developer.microsoft.com/graph

Table of Contents

__construct()  : mixed
Construct a new Graph Exception handler
__toString()  : string
Stringify the returned error and message

Methods

__construct()

Construct a new Graph Exception handler

public __construct(string $message, int $code[, Exception $previous = null ]) : mixed
Parameters
$message : string

The error to send

$code : int

The error code associated with the error

$previous : Exception = null

The last error sent, defaults to null

Return values
mixed

__toString()

Stringify the returned error and message

public __toString() : string
Return values
string

The returned string message

Search results