AppException class

Базовый класс для исключений в приложении.

Реализует интерфейс Exception и хранит описание ошибки вместе со стеком вызова. Этот класс служит основой для создания более специализированных исключений, таких как ApiException.

Implemented types
Implementers

Constructors

AppException({required dynamic error, StackTrace? stackTrace})
Конструктор AppException.

Properties

error → dynamic
Описание ошибки. Может представлять строку или любой другой объект, описывающий суть проблемы.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace
Стек вызова, связанный с возникновением ошибки. Если не передан, инициализируется текущим стеком вызова.
latefinal

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