StoreError class

An error encountered when persisting a value, or restoring it from persistence.

This is probably a configuration error -- check the KeyValueStore implementation and HydratedSubject persist and hydrate callbacks for type compatibility.

Inheritance

Constructors

StoreError(String message)
A storage error with a message describing its details.
StoreError.unsupportedType(String message)
A storage has encountered an unsupported type.

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
A description of an error.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
The stack trace at the point where this error was first thrown.
no setterinherited

Methods

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

Operators

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