\Microsoft\Graph\ExceptionGraphException

Class GraphException

Summary

Methods
Properties
Constants
__construct()
__toString()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(string  $message, integer  $code, \Microsoft\Graph\Exception\Exception  $previous = null) 

Construct a new Graph Exception handler

Parameters

string $message

The error to send

integer $code

The error code associated with the error

\Microsoft\Graph\Exception\Exception $previous

The last error sent, defaults to null

__toString()

__toString() : string

Stringify the returned error and message

Returns

string —

The returned string message