Code
in package
Return codes and their meanings
Table of Contents
- BAD_REQUEST = 3
- FAILED = 8
- INVALID_AMOUNT_MAX = 7
- INVALID_AMOUNT_MIN = 6
- INVALID_PIN = 5
- LOGIN_FAILED = 1
- NOT_FOUND = 4
- SUCCESS = 0
- UNAUTHORIZED = 2
- getMessage() : string
- Returns meaning of error code
Constants
BAD_REQUEST
public
mixed
BAD_REQUEST
= 3
FAILED
public
mixed
FAILED
= 8
INVALID_AMOUNT_MAX
public
mixed
INVALID_AMOUNT_MAX
= 7
INVALID_AMOUNT_MIN
public
mixed
INVALID_AMOUNT_MIN
= 6
INVALID_PIN
public
mixed
INVALID_PIN
= 5
LOGIN_FAILED
public
mixed
LOGIN_FAILED
= 1
NOT_FOUND
public
mixed
NOT_FOUND
= 4
SUCCESS
public
mixed
SUCCESS
= 0
UNAUTHORIZED
public
mixed
UNAUTHORIZED
= 2
Methods
getMessage()
Returns meaning of error code
public
static getMessage(int $code) : string
Parameters
- $code : int