BatchRequestException
extends SdkException
in package
This is the Exception class for errors throwed doing a batch request.
Table of Contents
IDENTIFIER_ALREADY_IN_USE | = 'F030-B000' | |
---|---|---|
IDENTIFIER_REQUIRED | = 'F030-B001' | |
INVALID_REQUEST | = 'F030-B002' | |
INVALID_REQUEST_METHOD | = 'F030-B004' | |
INVALID_URL_PARAMS | = 'F030-B003' | |
__construct() | Constructor. | : mixed |
__toString() | Auto-invoked using echo or concatenations. | : string |
Constants
IDENTIFIER_ALREADY_IN_USE
public
mixed
IDENTIFIER_ALREADY_IN_USE
= 'F030-B000'
IDENTIFIER_REQUIRED
public
mixed
IDENTIFIER_REQUIRED
= 'F030-B001'
INVALID_REQUEST
public
mixed
INVALID_REQUEST
= 'F030-B002'
INVALID_REQUEST_METHOD
public
mixed
INVALID_REQUEST_METHOD
= 'F030-B004'
INVALID_URL_PARAMS
public
mixed
INVALID_URL_PARAMS
= 'F030-B003'
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.