ErrorHandler class final

An pint° error handler.

Constructors

ErrorHandler()

Properties

errors UnmodifiableListView<PintoError>
The errors that were emitted by the handler.
no setter
hasError bool
Whether at least one error was emitted.
no setter
hashCode int
The hash code for this object.
no setterinherited
lastError PintoError?
The last emitted error.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(void listener(PintoError)) → void
Adds a listener to the handler.
emit(PintoError error) → void
Emits an error.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(void listener()) → void
Removes listener from the handler.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited