ProviderException class

Encapulates an exception thrown while building a provider.

This exception can be thrown if a provider fails to return a valid value:

final example = Provider((ref) => throw Error());

in which case, any attempt at listening to example with result in a ProviderException.

Implemented types

Properties

exception Object
The exception thrown while building the provider
final
hashCode int
The hash code for this object.
no setterinherited
provider ProviderBase
The provider that threw this exception.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace
The StackTrace associated with exception.
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