BlocUnhandledErrorException class

Exception thrown when an unhandled error occurs within a bloc.

Note: thrown in debug mode only

Implemented types

Constructors

BlocUnhandledErrorException(BlocBase bloc, Object error, [StackTrace stackTrace = StackTrace.empty])
Exception thrown when an unhandled error occurs within a bloc.

Properties

bloc → BlocBase
The bloc in which the unhandled error occurred.
final
error → Object
The unhandled error object.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackTrace → StackTrace
Stack trace which accompanied the error. May be StackTrace.empty if no stack trace was provided.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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