ErrorEvent<T> class

Event of an error with optional stack trace of a sequence of type T.

Inheritance

Constructors

ErrorEvent(Object error, StackTrace stackTrace)
const

Properties

error → Object
Returns the error of a ErrorEvent, throws otherwise.
final
hashCode → int
The hash code for this object.
no setteroverride
isComplete → bool
Returns true, if this is a completion event.
no setterinherited
isError → bool
Returns true, if this is an event with an error and an optional stackTrace.
no setteroverride
isNext → bool
Returns true, if this is an event with a value.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackTrace → StackTrace
Returns the optional stack trace of a ErrorEvent, throws otherwise.
final
value → T
Returns the value of a NextEvent, throws otherwise.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
observe(Observer<T> observer) → void
Performs this event on the observer.
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override