ErrorReaction enum
Constructors
- ErrorReaction()
-
const
Values
- none → const ErrorReaction
-
Errors are caught but silently swallowed
- throwException → const ErrorReaction
-
Errors are caught and rethrown
- globalHandler → const ErrorReaction
-
Errors are caught and passed only to the global handler if no global handler is registered an assertion is thrown
- localHandler → const ErrorReaction
-
Errors are caught and passed only to the local handlers if no one is listening on
errors
orresults
an assertion thrown in debub mode - localAndGlobalHandler → const ErrorReaction
-
Errors are caught and passed to both handlers if no one is listening on
errors
orresults
or no global error handler is registered an assertion is thrown in debub mode - firstLocalThenGlobalHandler → const ErrorReaction
-
Errors are caught and passed to the global handler if no one listens on
error
orresults
. If no global handler is registered an assertion is thrown in debug moe - noHandlersThrowException → const ErrorReaction
-
if no global handler is present and no listeners on
results
orerrors
the error is rethrown. if any or both of the handlers are present, it will call them - throwIfNoLocalHandler → const ErrorReaction
-
Errors are caught and rethrown if no local handler makes really only sense as global error filter
- defaultHandler → const ErrorReaction
-
the default error handler of the Command class is used
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ErrorReaction> - A constant List of the values in this enum, in order of their declaration.