StorageError class

Inheritance

Constructors

StorageError({required StorageErrorType type, int? code, dynamic rawError, String? message})
StorageError.fromDioError(DioError error)
factory
StorageError.fromError(Error error)
factory

Properties

code int?
type 不是 StorageErrorType.RESPONSE 的时候为 null
final
hashCode int
The hash code for this object.
no setterinherited
message String
no setterinherited
rawError → dynamic
error or exception
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
The stack trace at the point where this error was first thrown.
no setterinherited
type StorageErrorType
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