StorageAuthException
extends StorageNotAvailableException
in package
Storage authentication exception
Tags
Table of Contents
Constants
- STATUS_ERROR = 1
- STATUS_INCOMPLETE_CONF = 3
- STATUS_INDETERMINATE = 2
- STATUS_NETWORK_ERROR = 6
- STATUS_SUCCESS = 0
- STATUS_TIMEOUT = 5
- STATUS_UNAUTHORIZED = 4
Properties
- $hint : mixed
Methods
- __construct() : mixed
- StorageAuthException constructor.
- __toString() : string
- Returns a string representation of this Exception that includes the error code, the message and the hint.
- getHint() : string
- Returns the hint with the intention to be presented to the end user. If an empty hint was specified upon instantiation, the message is returned instead.
- getStateCodeName() : string
- Get the name for a status code
Constants
STATUS_ERROR
public
mixed
STATUS_ERROR
= 1
Tags
STATUS_INCOMPLETE_CONF
public
mixed
STATUS_INCOMPLETE_CONF
= 3
Tags
STATUS_INDETERMINATE
public
mixed
STATUS_INDETERMINATE
= 2
Tags
STATUS_NETWORK_ERROR
public
mixed
STATUS_NETWORK_ERROR
= 6
Tags
STATUS_SUCCESS
public
mixed
STATUS_SUCCESS
= 0
Tags
STATUS_TIMEOUT
public
mixed
STATUS_TIMEOUT
= 5
Tags
STATUS_UNAUTHORIZED
public
mixed
STATUS_UNAUTHORIZED
= 4
Tags
Properties
$hint
private
mixed
$hint
Methods
__construct()
StorageAuthException constructor.
public
__construct([string $message = '' ][, Exception|null $previous = null ]) : mixed
Parameters
- $message : string = ''
- $previous : Exception|null = null
Tags
__toString()
Returns a string representation of this Exception that includes the error code, the message and the hint.
public
__toString() : string
Tags
Return values
stringgetHint()
Returns the hint with the intention to be presented to the end user. If an empty hint was specified upon instantiation, the message is returned instead.
public
getHint() : string
Tags
Return values
stringgetStateCodeName()
Get the name for a status code
public
static getStateCodeName(int $code) : string
Parameters
- $code : int