GraphException
extends Exception
in package
Class GraphException
Tags
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