Exception
extends Exception
in package
Description of Exception
Tags
Table of Contents
- $errorMessages : array<string|int, mixed>
- Error messages sit here
- $serverResponse : string
- Original server response
- __construct() : mixed
- AbraFlexi response as Exception
- getErrorMessage() : string
- Get (first) error message
- getErrorMessages() : array<string|int, mixed>
- All stored Error messages
- getServerResponse() : string
- Raw API Response
Properties
$errorMessages
Error messages sit here
private
array<string|int, mixed>
$errorMessages
= []
$serverResponse
Original server response
private
string
$serverResponse
= ''
Methods
__construct()
AbraFlexi response as Exception
public
__construct(string $message, RO $caller[, Exception $previous = null ]) : mixed
Parameters
- $message : string
-
good to know
- $caller : RO
-
AbraFlexi Object
- $previous : Exception = null
Return values
mixed —getErrorMessage()
Get (first) error message
public
getErrorMessage(int $index) : string
Parameters
- $index : int
-
which message
Return values
string —getErrorMessages()
All stored Error messages
public
getErrorMessages() : array<string|int, mixed>
Return values
array<string|int, mixed> —getServerResponse()
Raw API Response
public
getServerResponse() : string