IsarFailureMapper class final

Специализированный маппер ошибок Isar.

Преобразует ошибки Isar (нарушение схемы, уникальности, транзакций, повреждение БД, нехватка места и т.д.) в соответствующие Failure. Определяет тип ошибки по stackTrace и ключевым словам в сообщении.

Используется в цепочке FailureSubMapper как часть FailureMapper2.

См. также: FailureSubMapper, CommonFailureMapper.

Implemented types

Constructors

IsarFailureMapper()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
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
tryMap(Object error, [StackTrace? stackTrace]) → Failure?
Пытается преобразовать error в Failure, если это ошибка Isar.
override

Operators

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