RedisException
extends SdkException
in package
This is the Exception class for errors throwed on the Redis class.
Table of Contents
COMMERCE_UID_NOT_DEFINED | = 'F030-R100' | |
---|---|---|
UNABLE_TO_USE_REDIS | = 'F030-R100' | |
__construct() | Constructor. | : mixed |
__toString() | Auto-invoked using echo or concatenations. | : string |
Constants
COMMERCE_UID_NOT_DEFINED
public
mixed
COMMERCE_UID_NOT_DEFINED
= 'F030-R100'
UNABLE_TO_USE_REDIS
public
mixed
UNABLE_TO_USE_REDIS
= 'F030-R100'
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.