mixinafReflux::Errors
afReflux::Errors
@
Js
(Service) - Maintains a list of errors incurred by the application. Errors are displayed in the ErrorsPanel
.
Errors are not persisted and are only held in memory.
- add
abstract Void add(Err err, Bool skipEventRaising := false)
Adds the given
Err
to theErrorsPanel
and raises anonError
event fromRefluxEvent
.If
skipEventRaising
istrue
then the error is simply added to the list; aRefluxEvent.onError()
event is not raised.- errors
abstract Error[] errors()
The list of errors.