RequestException
extends SdkException
in package
This is the Exception class for errors throwed preparing a request.
Table of Contents
INVALID_METHOD | = 'F030-R000' | |
---|---|---|
INVALID_PARAMETERS | = 'F030-R001' | |
__construct() | Constructor. | : mixed |
__toString() | Auto-invoked using echo or concatenations. | : string |
Constants
INVALID_METHOD
public
mixed
INVALID_METHOD
= 'F030-R000'
INVALID_PARAMETERS
public
mixed
INVALID_PARAMETERS
= 'F030-R001'
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.