AppError class abstract

Abstract class to model errors on the application. As a presset of foreseen specific errors there are some different implementations of this type. Namely: HttpError models errors related to http requests CacheError models cache errors DeviceInfoError models device's information gathering related errors FormError models form related errors StorageError models storage operations related errors

In addition to the AppError, there are a presset of foreseen Exceptions

Implementers

Constructors

AppError({String slug = '', String msg = '', String stackTrace = ''})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
msg String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slug String
final
stackTrace String
final

Methods

maybeResponse<T>() Maybe<T>
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.
override