A collection of ErrorMessage objects to use in appropriate erroneous situations.
- Since:
- 0.1.0
- Source:
Members
(static) ERRONEOUS_RESPONSE
Usage: in case of service returns bad response. Error message (without $1 placeholder replaced and with the error code):
'Oops! The service returned an erroneous response. $1 (#2004)'
- Source:
(static) ILLEGAL_ARGUMENT
Usage: when function argument is not according to expectations. Error message (without $1 placeholder replaced and with the error code):
'Oops! Illegal argument(s). $1 (#2000)'
- Source:
(static) ILLEGAL_RESPONSE_SIZE
Usage: in case of service returns response of illegal size (not equal to the number of requests). Error message (with the error code):
'Oops! Make sure the service returns an array equally sized to the number of (logical) requests. (#2003)'
- Source:
(static) SERVICE_ALREADY_REGISTERED
Usage: in case of someone tries to register service with the name of an already existing service. Error message (without $1 placeholder replaced and with the error code):
'Oops! The service with the given name has already been registered: $1. (#2002)'
- Source:
(static) SERVICE_UNREGISTERED
Usage: in case of someone referring to an unexisting service. Error message (without $1 placeholder replaced and with the error code):
'Oops! The service with the given name has not been registered: $1. (#2001)'
- Source: