Интерфейс подмаппера ошибок, реализуемый каждым специализированным маппером.
Каждый FailureSubMapper отвечает за определённую группу ошибок (Dio, Hive,
Firebase, файловая система и т.д.) и пытается преобразовать исходное
исключение в Failure. Если маппер не распознаёт ошибку, возвращает null.
См. также: DioFailureMapper, HiveFailureMapper, CommonFailureMapper.
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.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited