Documentation

Exception extends Exception
in package

Description of Exception.

Tags
author

vitex

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, string>
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|null $previous = null ]) : mixed
Parameters
$message : string

good to know

$caller : RO

AbraFlexi Object

$previous : Exception|null = 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, string>
Return values
array<string|int, string>

getServerResponse()

Raw API Response.

public getServerResponse() : string
Return values
string

Search results