1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182
<?php
namespace oroboros\core\interfaces\api;
interface ExceptionMessageApi extends ExceptionCodeApi {
const DEFAULT_EXCEPTION_MESSAGE_SUFFIX = ' Thrown at [%s] of [%s].';
const DEFAULT_EXCEPTION_MESSAGE_PREFIX = ' [%s][%s][%s][%s][%s] ';
const ERROR_UNKNOWN_MESSAGE = 'An unknown error has occurred.';
const ERROR_CORE_MESSAGE = 'An unknown error has occured with an oroboros class.';
const ERROR_CORE_LIBRARY_FAILURE_MESSAGE = 'Library [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_CONTROLLER_FAILURE_MESSAGE = 'Controller [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_MODEL_FAILURE_MESSAGE = 'Model [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_VIEW_FAILURE_MESSAGE = 'View [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_ADAPTER_FAILURE_MESSAGE = 'Adapter [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_AUTH_FAILURE_MESSAGE = 'Authorization [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_MODULE_FAILURE_MESSAGE = 'Module [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_EXTENSION_FAILURE_MESSAGE = 'Extension [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_PARSER_FAILURE_MESSAGE = 'Parser [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_RECORD_FAILURE_MESSAGE = 'Record [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_STREAM_FAILURE_MESSAGE = 'Stream [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_SERVICE_FAILURE_MESSAGE = 'Service [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_RESPONSE_FAILURE_MESSAGE = 'Response object [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_REQUEST_FAILURE_MESSAGE = 'Request object [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_ROUTER_FAILURE_MESSAGE = 'Router object [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_UTILITY_FAILURE_MESSAGE = 'Utility [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_JOB_FAILURE_MESSAGE = 'Job [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_ENTITY_FAILURE_MESSAGE = 'Entity object [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_PATTERN_FAILURE_MESSAGE = 'Pattern [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_ROUTINE_FAILURE_MESSAGE = 'Routine [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_EVENT_FAILURE_MESSAGE = 'Event object [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_FUNCTION_FAILURE_MESSAGE = 'Function [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_ERROR_FAILURE_MESSAGE = 'Error object [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_FLAG_FAILURE_MESSAGE = 'Flag object [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_ENUM_FAILURE_MESSAGE = 'Enum object [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_DATA_OBJECT_FAILURE_MESSAGE = 'Data object [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_CORE_BOOTSTRAP_FAILURE_MESSAGE = 'Bootstrap object [%s] has failed, due to an irrecoverable condition: [%s].';
const ERROR_PHP_MESSAGE = 'A generic PHP exception has occurred: [%s].';
const ERROR_PHP_METHOD_FAILURE_MESSAGE = 'Method [%s] has failed in class [%s].';
const ERROR_PHP_INSTANTIATION_FAILURE_MESSAGE = 'Could not complete instantiation due to an unexpected condition [%s].';
const ERROR_PHP_DESTRUCTOR_FAILURE_MESSAGE = 'Destructor failed to fire in [%s].';
const ERROR_PHP_BAD_PARAMETERS_MESSAGE = 'Invalid parameters passed. Expected [%s], but received [%s].';
const ERROR_PHP_BAD_METHOD_CALL_MESSAGE = 'Method [%s] does not exist in [%s].';
const ERROR_PHP_BAD_FUNCTION_CALL_MESSAGE = 'Function [%s] does not exist.';
const ERROR_PHP_WRONG_INSTANCE_SUPPLIED_MESSAGE = 'Invalid instance passed. Expected instanceof [%s], but received [%s].';
const ERROR_PHP_WRONG_SCHEMA_PROVIDED_MESSAGE = 'Invalid argument schema provided. Expected keys [%s], received [%s].';
const ERROR_PHP_NOT_INITIALIZED_MESSAGE = 'Could not complete operation because [%s] is not initialized. Please call the initialization method [%s] before referencing this method.';
const ERROR_PHP_INVOCATION_FAILURE_MESSAGE = 'Magic method [__invoke] failed to resolve in [%s].';
const ERROR_PHP_CALL_FAILURE_MESSAGE = 'Magic method [__call] failed to resolve in [%s].';
const ERROR_PHP_CLONE_FAILURE_MESSAGE = 'Magic method [__clone] failed to resolve in [%s].';
const ERROR_PHP_SERIALIZATION_FAILURE_MESSAGE = 'Magic method [__serialize] failed to resolve in [%s].';
const ERROR_PHP_UNSERIALIZATION_FAILURE_MESSAGE = 'Magic method [__unserialize] failed to resolve in [%s].';
const ERROR_PHP_SLEEP_FAILURE_MESSAGE = 'Magic method [__sleep] failed to resolve in [%s].';
const ERROR_PHP_WAKEUP_FAILURE_MESSAGE = 'Magic method [__wakeup] failed to resolve in [%s].';
const ERROR_PHP_GETTER_FAILURE_MESSAGE = 'Magic method [__get] failed to resolve in [%s].';
const ERROR_PHP_SETTER_FAILURE_MESSAGE = 'Magic method [__set] failed to resolve in [%s].';
const ERROR_PHP_TO_ARRAY_FAILURE_MESSAGE = 'Magic method [__toArray] failed to resolve in [%s].';
const ERROR_PHP_CALLSTATIC_FAILURE_MESSAGE = 'Magic method [__callStatic] failed to resolve in [%s].';
const ERROR_PHP_IS_SET_FAILURE_MESSAGE = 'Magic method [__toArray] failed to resolve in [%s].';
const ERROR_PHP_UN_SET_FAILURE_MESSAGE = 'Magic method [__unSet] failed to resolve in [%s].';
const ERROR_PHP_DEBUG_INFO_FAILURE_MESSAGE = 'Magic method [__debugInfo] failed to resolve in [%s].';
const ERROR_PHP_KEY_NOT_FOUND_MESSAGE = 'Requested key [%s] does not exist in [%s].';
const ERROR_FILESYSTEM_MESSAGE = 'Filesystem operation failed for [%s], because [%s].';
const ERROR_DATABASE_MESSAGE = 'A database error occurred in [%s]. Error message: [%s].';
const ERROR_SESSION_MESSAGE = 'A session error occurred in [%s]. Error message: [%s].';
const ERROR_SECURITY_MESSAGE = 'A security error occurred in [%s]. Error message: [%s].';
const ERROR_SECURITY_LOCKED_RESOURCE_MESSAGE = 'Your request could not be resolved because resource [%s] is locked.';
const ERROR_SECURITY_LOCKED_FILE_MESSAGE = 'Your request could not be resolved because file [%s] is locked.';
const ERROR_SECURITY_LOCKED_TABLE_MESSAGE = 'Your request could not be resolved because table [%s] is locked.';
const ERROR_SECURITY_LOCKED_COLUMN_MESSAGE = 'Your request could not be resolved because column [%s] is locked.';
const ERROR_SECURITY_LOCKED_OBJECT_MESSAGE = 'Your request could not be resolved because object [%s] is locked.';
const ERROR_SECURITY_LOCKED_EVENT_MESSAGE = 'Your request could not be resolved because event [%s] is locked.';
const ERROR_SECURITY_LOCKED_ENTITY_MESSAGE = 'Your request could not be resolved because entity [%s] is locked.';
const ERROR_SECURITY_LOCKED_JOB_MESSAGE = 'Your request could not be resolved because job [%s] is locked.';
const ERROR_SECURITY_LOCKED_POLICY_MESSAGE = 'Your request could not be resolved because policy [%s] is locked.';
const ERROR_SECURITY_LOCKED_ROUTE_MESSAGE = 'Your request could not be resolved because route [%s] is locked.';
const ERROR_SECURITY_LOCKED_COMMAND_MESSAGE = 'Your request could not be resolved because command [%s] is locked.';
const ERROR_ROUTING_MESSAGE = 'An error occurred with routing at [%s]. Message: [%s].';
const ERROR_LOGIC_MESSAGE = 'A logic error occurred at [%s]. Message: [%s].';
const ERROR_LOGIC_BAD_PARAMETERS_MESSAGE = 'A logic error occurred at [%s] due to bad parameters. Expected [%s] but received [%s].';
const ERROR_LOGIC_MISSING_PARAMETERS_MESSAGE = 'A logic error occurred at [%s] due to missing required parameters [%s].';
const ERROR_INITIALIZATION_MESSAGE = 'A generic initialization error occurred in [%s]. Message [%s].';
const ERROR_INSTALLATION_MESSAGE = 'A generic installation error occurred in [%s]. Message [%s].';
const ERROR_MODEL_MESSAGE = 'A generic model error occurred in [%s]. Message [%s].';
const ERROR_VIEW_MESSAGE = 'A generic view error occurred in [%s]. Message [%s].';
const ERROR_LIBRARY_MESSAGE = 'A generic library error occurred in [%s]. Message [%s].';
const ERROR_CONTROLLER_MESSAGE = 'A generic controller error occurred in [%s]. Message [%s].';
const ERROR_ADAPTER_MESSAGE = 'A generic adapter error occurred in [%s]. Message [%s].';
const ERROR_MODULE_MESSAGE = 'A generic module error occurred in [%s]. Message [%s].';
const ERROR_ROUTINE_MESSAGE = 'A generic initialization error occurred in [%s]. Message [%s].';
const ERROR_SDK_MESSAGE = 'A generic SDK error occurred in [%s]. Message [%s].';
const ERROR_NETWORK_MESSAGE = 'A generic network error occurred in [%s]. Message [%s].';
const ERROR_CLUSTER_MESSAGE = 'A generic cluster error occurred in [%s]. Message [%s].';
const ERROR_NODE_MESSAGE = 'A generic error occurred in node [%s]. Message [%s].';
}