ObjectServiceError Class
Exceptions specific to the ObjectService API.
Located in the namespace Canteen\Errors.
Constructor
Item Index
Methods
Properties
- INVALID_FIELD_NAME static
- INVALID_INDEX static
- INVALID_METHOD static
- INVALID_PROPERTY static
- messages static
- NO_DEFAULT_INDEX static
- UNREGISTERED_ITEM static
- WRONG_ARG_COUNT static
Methods
getResult
()
Dictionary
Get the result object
Returns:
Dictionary:
The result Exception object formatted nicely
Properties
INVALID_FIELD_NAME
Int
final
static
There is no field matching the supplied name
INVALID_INDEX
Int
final
static
There is not a valid dynamic method matching this name
INVALID_METHOD
Int
final
static
The dynamic method name is invalid for the service
INVALID_PROPERTY
Int
final
static
The dynamic method name is invalid for the service
NO_DEFAULT_INDEX
Int
final
static
Custom service does not have a default index
UNREGISTERED_ITEM
Int
final
static
The definition name is invalid
WRONG_ARG_COUNT
Int
final
static
Wrong number of arguments for dynamic method