Interface ExceptionMessageApi
These are intended to be used in conjunction with sprintf to inject values.
These will be updated to provide a default that corresponds to each system error code.
- oroboros\core\interfaces\api\ExceptionMessageApi implements oroboros\core\interfaces\api\ExceptionCodeApi
Direct known implementers
oroboros\core\interfaces\contract\utilities\exception\ExceptionContract
Indirect known implementers
oroboros\core\abstracts\utilities\exception\AbstractBadFunctionCallException,
oroboros\core\abstracts\utilities\exception\AbstractBadMethodCallException,
oroboros\core\abstracts\utilities\exception\AbstractRangeException,
oroboros\core\abstracts\utilities\exception\AbstractRuntimeException,
oroboros\core\abstracts\utilities\exception\AbstractUnderflowException,
oroboros\core\abstracts\utilities\exception\AbstractUnexpectedValueException,
oroboros\core\abstracts\utilities\exception\cache\AbstractCacheException,
oroboros\core\abstracts\utilities\exception\cache\AbstractInvalidArgumentException,
oroboros\core\abstracts\utilities\exception\container\AbstractContainerException,
oroboros\core\abstracts\utilities\exception\container\AbstractNotFoundException,
oroboros\core\interfaces\contract\utilities\exception\cache\CacheExceptionContract,
oroboros\core\interfaces\contract\utilities\exception\cache\InvalidArgumentExceptionContract,
oroboros\core\abstracts\utilities\exception\AbstractDomainException,
oroboros\core\interfaces\contract\utilities\exception\container\ContainerExceptionContract,
oroboros\core\interfaces\contract\utilities\exception\container\NotFoundExceptionContract,
oroboros\core\utilities\exception\BadFunctionCallException,
oroboros\core\utilities\exception\BadMethodCallException,
oroboros\core\utilities\exception\cache\CacheException,
oroboros\core\utilities\exception\cache\InvalidArgumentException,
oroboros\core\utilities\exception\container\ContainerException,
oroboros\core\utilities\exception\container\NotFoundException,
oroboros\core\utilities\exception\DomainException,
oroboros\core\utilities\exception\Exception,
oroboros\core\abstracts\utilities\exception\AbstractException,
oroboros\core\utilities\exception\InvalidArgumentException,
oroboros\core\utilities\exception\LengthException,
oroboros\core\utilities\exception\LogicException,
oroboros\core\utilities\exception\OutOfBoundsException,
oroboros\core\utilities\exception\OutOfRangeException,
oroboros\core\utilities\exception\OverflowException,
oroboros\core\utilities\exception\RangeException,
oroboros\core\utilities\exception\RuntimeException,
oroboros\core\utilities\exception\UnderflowException,
oroboros\core\utilities\exception\UnexpectedValueException,
oroboros\core\abstracts\utilities\exception\AbstractInvalidArgumentException,
oroboros\core\abstracts\utilities\exception\AbstractLengthException,
oroboros\core\abstracts\utilities\exception\AbstractLogicException,
oroboros\core\abstracts\utilities\exception\AbstractOutOfBoundsException,
oroboros\core\abstracts\utilities\exception\AbstractOutOfRangeException,
oroboros\core\abstracts\utilities\exception\AbstractOverflowException
Author: Brian Dayhoff mopsyd@me.com
See:
oroboros\core\interfaces\api\ExceptionCodeApiLocated at core/interfaces/api/ExceptionMessageApi.php
Constants summary
string |
DEFAULT_EXCEPTION_MESSAGE_SUFFIX
|
#
' Thrown at [%s] of [%s].'
|
string |
DEFAULT_EXCEPTION_MESSAGE_PREFIX
|
#
' [%s][%s][%s][%s][%s] '
|
string |
ERROR_UNKNOWN_MESSAGE
This is the default \Exception code, so it maps to unknown error. The system will treat all uncaught exceptions with status code 0 as FATAL ERRORS. |
#
'An unknown error has occurred.'
|
string |
ERROR_CORE_MESSAGE
Generic Oroboros core errors.These represent errors in the oroboros core class structure. |
#
'An unknown error has occured with an oroboros class.'
|
string |
ERROR_CORE_LIBRARY_FAILURE_MESSAGE
|
#
'Library [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_CONTROLLER_FAILURE_MESSAGE
|
#
'Controller [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_MODEL_FAILURE_MESSAGE
|
#
'Model [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_VIEW_FAILURE_MESSAGE
|
#
'View [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_ADAPTER_FAILURE_MESSAGE
|
#
'Adapter [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_AUTH_FAILURE_MESSAGE
|
#
'Authorization [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_MODULE_FAILURE_MESSAGE
|
#
'Module [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_EXTENSION_FAILURE_MESSAGE
|
#
'Extension [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_PARSER_FAILURE_MESSAGE
|
#
'Parser [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_RECORD_FAILURE_MESSAGE
|
#
'Record [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_STREAM_FAILURE_MESSAGE
|
#
'Stream [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_SERVICE_FAILURE_MESSAGE
|
#
'Service [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_RESPONSE_FAILURE_MESSAGE
|
#
'Response object [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_REQUEST_FAILURE_MESSAGE
|
#
'Request object [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_ROUTER_FAILURE_MESSAGE
|
#
'Router object [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_UTILITY_FAILURE_MESSAGE
|
#
'Utility [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_JOB_FAILURE_MESSAGE
|
#
'Job [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_ENTITY_FAILURE_MESSAGE
|
#
'Entity object [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_PATTERN_FAILURE_MESSAGE
|
#
'Pattern [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_ROUTINE_FAILURE_MESSAGE
|
#
'Routine [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_EVENT_FAILURE_MESSAGE
|
#
'Event object [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_FUNCTION_FAILURE_MESSAGE
|
#
'Function [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_ERROR_FAILURE_MESSAGE
|
#
'Error object [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_FLAG_FAILURE_MESSAGE
|
#
'Flag object [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_ENUM_FAILURE_MESSAGE
|
#
'Enum object [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_DATA_OBJECT_FAILURE_MESSAGE
|
#
'Data object [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_CORE_BOOTSTRAP_FAILURE_MESSAGE
|
#
'Bootstrap object [%s] has failed, due to an irrecoverable condition: [%s].'
|
string |
ERROR_PHP_MESSAGE
PHP ErrorsGeneric or expected errors that can't be handled, |
#
'A generic PHP exception has occurred: [%s].'
|
string |
ERROR_PHP_METHOD_FAILURE_MESSAGE
|
#
'Method [%s] has failed in class [%s].'
|
string |
ERROR_PHP_INSTANTIATION_FAILURE_MESSAGE
|
#
'Could not complete instantiation due to an unexpected condition [%s].'
|
string |
ERROR_PHP_DESTRUCTOR_FAILURE_MESSAGE
|
#
'Destructor failed to fire in [%s].'
|
string |
ERROR_PHP_BAD_PARAMETERS_MESSAGE
|
#
'Invalid parameters passed. Expected [%s], but received [%s].'
|
string |
ERROR_PHP_BAD_METHOD_CALL_MESSAGE
|
#
'Method [%s] does not exist in [%s].'
|
string |
ERROR_PHP_BAD_FUNCTION_CALL_MESSAGE
|
#
'Function [%s] does not exist.'
|
string |
ERROR_PHP_WRONG_INSTANCE_SUPPLIED_MESSAGE
|
#
'Invalid instance passed. Expected instanceof [%s], but received [%s].'
|
string |
ERROR_PHP_WRONG_SCHEMA_PROVIDED_MESSAGE
|
#
'Invalid argument schema provided. Expected keys [%s], received [%s].'
|
string |
ERROR_PHP_NOT_INITIALIZED_MESSAGE
|
#
'Could not complete operation because [%s] is not initialized. Please call the initialization method [%s] before referencing this method.'
|
string |
ERROR_PHP_INVOCATION_FAILURE_MESSAGE
|
#
'Magic method [__invoke] failed to resolve in [%s].'
|
string |
ERROR_PHP_CALL_FAILURE_MESSAGE
|
#
'Magic method [__call] failed to resolve in [%s].'
|
string |
ERROR_PHP_CLONE_FAILURE_MESSAGE
|
#
'Magic method [__clone] failed to resolve in [%s].'
|
string |
ERROR_PHP_SERIALIZATION_FAILURE_MESSAGE
|
#
'Magic method [__serialize] failed to resolve in [%s].'
|
string |
ERROR_PHP_UNSERIALIZATION_FAILURE_MESSAGE
|
#
'Magic method [__unserialize] failed to resolve in [%s].'
|
string |
ERROR_PHP_SLEEP_FAILURE_MESSAGE
|
#
'Magic method [__sleep] failed to resolve in [%s].'
|
string |
ERROR_PHP_WAKEUP_FAILURE_MESSAGE
|
#
'Magic method [__wakeup] failed to resolve in [%s].'
|
string |
ERROR_PHP_GETTER_FAILURE_MESSAGE
|
#
'Magic method [__get] failed to resolve in [%s].'
|
string |
ERROR_PHP_SETTER_FAILURE_MESSAGE
|
#
'Magic method [__set] failed to resolve in [%s].'
|
string |
ERROR_PHP_TO_ARRAY_FAILURE_MESSAGE
|
#
'Magic method [__toArray] failed to resolve in [%s].'
|
string |
ERROR_PHP_CALLSTATIC_FAILURE_MESSAGE
|
#
'Magic method [__callStatic] failed to resolve in [%s].'
|
string |
ERROR_PHP_IS_SET_FAILURE_MESSAGE
|
#
'Magic method [__toArray] failed to resolve in [%s].'
|
string |
ERROR_PHP_UN_SET_FAILURE_MESSAGE
|
#
'Magic method [__unSet] failed to resolve in [%s].'
|
string |
ERROR_PHP_DEBUG_INFO_FAILURE_MESSAGE
|
#
'Magic method [__debugInfo] failed to resolve in [%s].'
|
string |
ERROR_PHP_KEY_NOT_FOUND_MESSAGE
|
#
'Requested key [%s] does not exist in [%s].'
|
string |
ERROR_FILESYSTEM_MESSAGE
|
#
'Filesystem operation failed for [%s], because [%s].'
|
string |
ERROR_DATABASE_MESSAGE
|
#
'A database error occurred in [%s]. Error message: [%s].'
|
string |
ERROR_SESSION_MESSAGE
|
#
'A session error occurred in [%s]. Error message: [%s].'
|
string |
ERROR_SECURITY_MESSAGE
|
#
'A security error occurred in [%s]. Error message: [%s].'
|
string |
ERROR_SECURITY_LOCKED_RESOURCE_MESSAGE
|
#
'Your request could not be resolved because resource [%s] is locked.'
|
string |
ERROR_SECURITY_LOCKED_FILE_MESSAGE
|
#
'Your request could not be resolved because file [%s] is locked.'
|
string |
ERROR_SECURITY_LOCKED_TABLE_MESSAGE
|
#
'Your request could not be resolved because table [%s] is locked.'
|
string |
ERROR_SECURITY_LOCKED_COLUMN_MESSAGE
|
#
'Your request could not be resolved because column [%s] is locked.'
|
string |
ERROR_SECURITY_LOCKED_OBJECT_MESSAGE
|
#
'Your request could not be resolved because object [%s] is locked.'
|
string |
ERROR_SECURITY_LOCKED_EVENT_MESSAGE
|
#
'Your request could not be resolved because event [%s] is locked.'
|
string |
ERROR_SECURITY_LOCKED_ENTITY_MESSAGE
|
#
'Your request could not be resolved because entity [%s] is locked.'
|
string |
ERROR_SECURITY_LOCKED_JOB_MESSAGE
|
#
'Your request could not be resolved because job [%s] is locked.'
|
string |
ERROR_SECURITY_LOCKED_POLICY_MESSAGE
|
#
'Your request could not be resolved because policy [%s] is locked.'
|
string |
ERROR_SECURITY_LOCKED_ROUTE_MESSAGE
|
#
'Your request could not be resolved because route [%s] is locked.'
|
string |
ERROR_SECURITY_LOCKED_COMMAND_MESSAGE
|
#
'Your request could not be resolved because command [%s] is locked.'
|
string |
ERROR_ROUTING_MESSAGE
|
#
'An error occurred with routing at [%s]. Message: [%s].'
|
string |
ERROR_LOGIC_MESSAGE
|
#
'A logic error occurred at [%s]. Message: [%s].'
|
string |
ERROR_LOGIC_BAD_PARAMETERS_MESSAGE
|
#
'A logic error occurred at [%s] due to bad parameters. Expected [%s] but received [%s].'
|
string |
ERROR_LOGIC_MISSING_PARAMETERS_MESSAGE
|
#
'A logic error occurred at [%s] due to missing required parameters [%s].'
|
string |
ERROR_INITIALIZATION_MESSAGE
|
#
'A generic initialization error occurred in [%s]. Message [%s].'
|
string |
ERROR_INSTALLATION_MESSAGE
|
#
'A generic installation error occurred in [%s]. Message [%s].'
|
string |
ERROR_MODEL_MESSAGE
|
#
'A generic model error occurred in [%s]. Message [%s].'
|
string |
ERROR_VIEW_MESSAGE
|
#
'A generic view error occurred in [%s]. Message [%s].'
|
string |
ERROR_LIBRARY_MESSAGE
|
#
'A generic library error occurred in [%s]. Message [%s].'
|
string |
ERROR_CONTROLLER_MESSAGE
|
#
'A generic controller error occurred in [%s]. Message [%s].'
|
string |
ERROR_ADAPTER_MESSAGE
|
#
'A generic adapter error occurred in [%s]. Message [%s].'
|
string |
ERROR_MODULE_MESSAGE
|
#
'A generic module error occurred in [%s]. Message [%s].'
|
string |
ERROR_ROUTINE_MESSAGE
|
#
'A generic initialization error occurred in [%s]. Message [%s].'
|
string |
ERROR_SDK_MESSAGE
|
#
'A generic SDK error occurred in [%s]. Message [%s].'
|
string |
ERROR_NETWORK_MESSAGE
|
#
'A generic network error occurred in [%s]. Message [%s].'
|
string |
ERROR_CLUSTER_MESSAGE
|
#
'A generic cluster error occurred in [%s]. Message [%s].'
|
string |
ERROR_NODE_MESSAGE
|
#
'A generic error occurred in node [%s]. Message [%s].'
|
Constants inherited from oroboros\core\interfaces\api\ExceptionCodeApi
ERROR_ADAPTER,
ERROR_CLUSTER,
ERROR_CONTROLLER,
ERROR_CORE,
ERROR_CORE_ADAPTER_FAILURE,
ERROR_CORE_AUTH_FAILURE,
ERROR_CORE_BOOTSTRAP_FAILURE,
ERROR_CORE_CONTROLLER_FAILURE,
ERROR_CORE_DATA_OBJECT_FAILURE,
ERROR_CORE_ENTITY_FAILURE,
ERROR_CORE_ENUM_FAILURE,
ERROR_CORE_ERROR_FAILURE,
ERROR_CORE_EVENT_FAILURE,
ERROR_CORE_EXTENSION_FAILURE,
ERROR_CORE_FLAG_FAILURE,
ERROR_CORE_FUNCTION_FAILURE,
ERROR_CORE_JOB_FAILURE,
ERROR_CORE_LIBRARY_FAILURE,
ERROR_CORE_MODEL_FAILURE,
ERROR_CORE_MODULE_FAILURE,
ERROR_CORE_PARSER_FAILURE,
ERROR_CORE_PATTERN_FAILURE,
ERROR_CORE_RECORD_FAILURE,
ERROR_CORE_REQUEST_FAILURE,
ERROR_CORE_RESPONSE_FAILURE,
ERROR_CORE_ROUTER_FAILURE,
ERROR_CORE_ROUTINE_FAILURE,
ERROR_CORE_SERVICE_FAILURE,
ERROR_CORE_STREAM_FAILURE,
ERROR_CORE_UTILITY_FAILURE,
ERROR_CORE_VIEW_FAILURE,
ERROR_DATABASE,
ERROR_FILESYSTEM,
ERROR_INITIALIZATION,
ERROR_INSTALLATION,
ERROR_LIBRARY,
ERROR_LOGIC,
ERROR_LOGIC_BAD_PARAMETERS,
ERROR_LOGIC_MISSING_PARAMETERS,
ERROR_MODEL,
ERROR_MODULE,
ERROR_NETWORK,
ERROR_NODE,
ERROR_PHP,
ERROR_PHP_BAD_FUNCTION_CALL,
ERROR_PHP_BAD_METHOD_CALL,
ERROR_PHP_BAD_PARAMETERS,
ERROR_PHP_CALLSTATIC_FAILURE,
ERROR_PHP_CALL_FAILURE,
ERROR_PHP_CLONE_FAILURE,
ERROR_PHP_DEBUG_INFO_FAILURE,
ERROR_PHP_DESTRUCTOR_FAILURE,
ERROR_PHP_GETTER_FAILURE,
ERROR_PHP_INSTANTIATION_FAILURE,
ERROR_PHP_INVOCATION_FAILURE,
ERROR_PHP_IS_SET_FAILURE,
ERROR_PHP_KEY_NOT_FOUND,
ERROR_PHP_METHOD_FAILURE,
ERROR_PHP_NOT_INITIALIZED,
ERROR_PHP_SERIALIZATION_FAILURE,
ERROR_PHP_SETTER_FAILURE,
ERROR_PHP_SLEEP_FAILURE,
ERROR_PHP_TO_ARRAY_FAILURE,
ERROR_PHP_UNSERIALIZATION_FAILURE,
ERROR_PHP_UN_SET_FAILURE,
ERROR_PHP_WAKEUP_FAILURE,
ERROR_PHP_WRONG_INSTANCE_SUPPLIED,
ERROR_PHP_WRONG_SCHEMA_PROVIDED,
ERROR_ROUTINE,
ERROR_ROUTING,
ERROR_SDK,
ERROR_SECURITY,
ERROR_SECURITY_LOCKED_COLUMN,
ERROR_SECURITY_LOCKED_COMMAND,
ERROR_SECURITY_LOCKED_ENTITY,
ERROR_SECURITY_LOCKED_EVENT,
ERROR_SECURITY_LOCKED_FILE,
ERROR_SECURITY_LOCKED_JOB,
ERROR_SECURITY_LOCKED_OBJECT,
ERROR_SECURITY_LOCKED_POLICY,
ERROR_SECURITY_LOCKED_RESOURCE,
ERROR_SECURITY_LOCKED_ROUTE,
ERROR_SECURITY_LOCKED_TABLE,
ERROR_SESSION,
ERROR_UNKNOWN,
ERROR_VIEW,
SAFE_MINIMUM_ERROR_RANGE