Entry point to UIM`s error handling. Using the `register()` method you can attach an ErrorTrap to D`s default error handler. When errors are trapped, errors are logged (if logging is enabled). Then the `Error.beforeRender` event is triggered. Finally, errors are 'rendered' using the defined renderer. If no error renderer is defined in configuration one of the default implementations will be chosen based on the UIM SAPI.
Inherited | Abstract | Final | Static | Datatype | Header |
---|---|---|---|---|---|
string | string chooseErrorRenderer() | ||||
this(Json[string] | this(Json[string] initData) | ||||
bool | bool initialize(Json[string] initData = null) | ||||
IErrorRenderer | IErrorRenderer renderer() | ||||
void | void logError(IError error) | ||||
this() | this() | ||||
IErrorLogger | IErrorLogger logger() | ||||
void | void register() |