Ualá Bis - SDK PHP

Error extends Exception
in package

Table of Contents

ERRORS_TYPE  = [666 => 'unknown', 999 => 'api_error', 1000 => 'input_validation', 1001 => 'required_field_empty', 1002 => 'invalid_credentials', 1003 => 'invalid_amount', 1004 => 'user_no_exist', 1005 => 'no_owner_order', 1006 => 'no_record_found', 2004 => 'api_error', 2005 => 'no_owner_order', 3001 => 'required_field_empty', 3003 => 'user_no_exist', 3005 => 'invalid_client_id', 3006 => 'invalid_client_secret']
$errorType  : mixed
$message  : mixed
$statusCode  : mixed
__construct()  : mixed
getErrorType()  : mixed
getStatusCode()  : mixed

Constants

ERRORS_TYPE

public mixed ERRORS_TYPE = [666 => 'unknown', 999 => 'api_error', 1000 => 'input_validation', 1001 => 'required_field_empty', 1002 => 'invalid_credentials', 1003 => 'invalid_amount', 1004 => 'user_no_exist', 1005 => 'no_owner_order', 1006 => 'no_record_found', 2004 => 'api_error', 2005 => 'no_owner_order', 3001 => 'required_field_empty', 3003 => 'user_no_exist', 3005 => 'invalid_client_id', 3006 => 'invalid_client_secret']

Properties

$errorType

protected mixed $errorType

$message

protected mixed $message

$statusCode

protected mixed $statusCode

Methods

__construct()

public __construct(mixed $message, mixed $errorCode, mixed $statusCode) : mixed
Parameters
$message : mixed
$errorCode : mixed
$statusCode : mixed
Return values
mixed

getErrorType()

public final getErrorType() : mixed
Return values
mixed

getStatusCode()

public final getStatusCode() : mixed
Return values
mixed

        

Search results