CubitUnhandledErrorException class

Exception thrown when an unhandled error occurs within a Cubit.

Note: thrown in debug mode only

Implemented types

Constructors

CubitUnhandledErrorException(Cubit cubit, Object error, [StackTrace stackTrace])
Exception thrown when an unhandled error occurs within a Cubit. [...]

Properties

cubit Cubit
The cubit in which the unhandled error occurred.
final
error Object
The unhandled error object.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stackTrace StackTrace
An optional stackTrace which accompanied the error.
final

Methods

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

Operators

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