StorageAppException class final

Исключение хранилища данных.

Бросается при ошибках чтения/записи в локальное хранилище. Маппится в Failure.storage через DomainExceptionFailureMapper.

type — тип ошибки хранилища. key — ключ, с которым связана ошибка (опционально). message — описание ошибки (опционально).

Implemented types

Constructors

StorageAppException(StorageFailure type, {String? key, String? message})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
key → String?
final
message → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → StorageFailure
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