SdkException
extends Exception
in package
This is the main SDK Exception class.
All SDK exceptions extend this class.
Tags
Table of Contents
__construct() | Constructor. | : mixed |
---|---|---|
__toString() | Auto-invoked using echo or concatenations. | : string |
Methods
__construct()
Constructor.
public
__construct([string $message = null ][, string $code = '' ][, Exception $previous = null ]) : mixed
Creates the exception.
Parameters
- $message : string = null
-
The exception message
- $code : string = ''
-
The exception code
- $previous : Exception = null
-
The exception that precedes the current exception
Tags
Return values
mixed —__toString()
Auto-invoked using echo or concatenations.
public
__toString() : string
Useful to log errors.