GatewayError Class
Exceptions specific to the JSON server.
Located in the namespace Canteen\Errors.
Constructor
Item Index
Methods
Properties
- BAD_URI_REQUEST static
- INCORRECT_PARAMETERS static
- INSUFFICIENT_PRIVILEGE static
- messages static
- NO_CONTROL_FOUND static
- NO_INPUT static
- REGISTERED_URI static
Methods
getResult
()
Dictionary
Get the result object
Returns:
Dictionary:
The result Exception object formatted nicely
Properties
BAD_URI_REQUEST
Int
final
static
Bad URI request was made with the gateway
INCORRECT_PARAMETERS
Int
final
static
The wrong number of parameters
INSUFFICIENT_PRIVILEGE
Int
final
static
Method can't be access by the client
NO_CONTROL_FOUND
Int
final
static
No control was found matching the URI request
NO_INPUT
Int
final
static
No input provided
REGISTERED_URI
Int
final
static
The alias is already registerd