FileAppException class final

Исключение работы с файлами.

Бросается при ошибках чтения, записи, удаления файлов. Маппится в Failure.file через DomainExceptionFailureMapper.

type — тип ошибки файла. path — путь к файлу (опционально). message — описание ошибки (опционально).

Implemented types

Constructors

FileAppException(FileFailure type, {String? path, String? message})
const

Properties

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