ErrorReaction enum

Inheritance

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 or results an assertion thrown in debub mode

localAndGlobalHandler → const ErrorReaction

Errors are caught and passed to both handlers if no one is listening on errors or results 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 or results. 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 or errors 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

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.