Class ErrorResult
ErrorResult The error result class.
- GenericResult
- ErrorResult
public
|
#
__construct( string $message, integer $code = "",
A new error result |
public static
|
#
getInstance( string $message, integer $code = "",
Get a new instance of the ErrorResult. |
export(),
getResult(),
getStatusCode(),
getStatusMessage(),
setResult(),
setStatusCode()
|
public static
integer
|
$RESULT_FAIL | -1 |
|
public static
integer
|
$RESULT_FAIL_APIKEY_DISABLED | -30 |
|
public static
integer
|
$RESULT_FAIL_APIKEY_INACTIVE | -31 |
|
public static
integer
|
$RESULT_FAIL_APIKEY_INVALID | -32 |
|
public static
integer
|
$RESULT_FAIL_AUTHTOKEN | -20 |