Menu

## GraphClientException extends GraphException
in package

GraphClientException.php : 17

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()

GraphException.php : 37

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()

GraphException.php : 47

Stringify the returned error and message

`public __toString() : string`

##### Return values

string —

The returned string message

## Search results