DeekWebException class

An exception generated while making a request with DeekWebClient.

Implemented types

Constructors

DeekWebException()
Creates an empty exception object
DeekWebException.fromError(Error e)
Creates a DeekWebException from an error. Generally you should consider Errors to be fatal, hence they are separate from Exceptions. However, parsing errors will result in a TypeError, and the app shouldn't crash if the server turns an unexpected value.
DeekWebException.fromException(Exception e)
Creates a DeekWebException from a generic Flutter exception

Properties

errorType Type
Gets the underlying type of the error that generated the DeekWebException
no setter
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
Returns the String format of the error
override

Operators

operator ==(Object other) bool
The equality operator.
inherited