APIError
in package
Tags
Table of Contents
- HANDLER_NOT_AUTHENTICATED = 22
- HMAC_INVALID = 137
- OAUTH_CLIENT_INFO_RETRIEVAL_FAILED = 30
- OAUTH_CLIENT_REGISTRATION_FAILED = 28
- OAUTH_RTOKEN_ACCESS_REVOKED = 48
- OAUTH_RTOKEN_INVALID_TOKEN = 45
- OAUTH_RTOKEN_UNKNOWN_CLIENT = 47
- OAUTH_USRCREDS_INACTIVE_CUSTOMER = 42
- OAUTH_USRCREDS_INVALID_CREDENTIALS = 40
- OAUTH_USRCREDS_UNKNOWN_CUSTOMER = 41
- OAUTH_USRCREDS_UNKNOWN_USER = 43
- STRUCTURE_MISSING_TOKEN = 13
- WRONG_SECRET = 49
- getCredentialErrorCodes() : array<string|int, mixed>
- isCredentialError() : bool
Constants
HANDLER_NOT_AUTHENTICATED
public
mixed
HANDLER_NOT_AUTHENTICATED
= 22
HMAC_INVALID
public
mixed
HMAC_INVALID
= 137
OAUTH_CLIENT_INFO_RETRIEVAL_FAILED
public
mixed
OAUTH_CLIENT_INFO_RETRIEVAL_FAILED
= 30
OAUTH_CLIENT_REGISTRATION_FAILED
public
mixed
OAUTH_CLIENT_REGISTRATION_FAILED
= 28
OAUTH_RTOKEN_ACCESS_REVOKED
public
mixed
OAUTH_RTOKEN_ACCESS_REVOKED
= 48
OAUTH_RTOKEN_INVALID_TOKEN
public
mixed
OAUTH_RTOKEN_INVALID_TOKEN
= 45
OAUTH_RTOKEN_UNKNOWN_CLIENT
public
mixed
OAUTH_RTOKEN_UNKNOWN_CLIENT
= 47
OAUTH_USRCREDS_INACTIVE_CUSTOMER
public
mixed
OAUTH_USRCREDS_INACTIVE_CUSTOMER
= 42
OAUTH_USRCREDS_INVALID_CREDENTIALS
public
mixed
OAUTH_USRCREDS_INVALID_CREDENTIALS
= 40
OAUTH_USRCREDS_UNKNOWN_CUSTOMER
public
mixed
OAUTH_USRCREDS_UNKNOWN_CUSTOMER
= 41
OAUTH_USRCREDS_UNKNOWN_USER
public
mixed
OAUTH_USRCREDS_UNKNOWN_USER
= 43
STRUCTURE_MISSING_TOKEN
public
mixed
STRUCTURE_MISSING_TOKEN
= 13
WRONG_SECRET
public
mixed
WRONG_SECRET
= 49
Methods
getCredentialErrorCodes()
public
getCredentialErrorCodes() : array<string|int, mixed>
Return values
array<string|int, mixed> —isCredentialError()
public
isCredentialError(int $errorCode) : bool
Parameters
- $errorCode : int