HttpError<T> 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. HttpError models errors related to http requests

Inheritance
Implementers

Constructors

HttpError({String slug = '', String msg = '', String stackTrace = '', int code = -2, Maybe<T> response = const Nothing()})
const

Properties

code int
final
hashCode int
The hash code for this object.
no setterinherited
msg String
finalinherited
response Maybe<T>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slug String
finalinherited
stackTrace String
finalinherited

Methods

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