AdapterExceptionType enum
适配器异常类型
Values
- connectTimeout → const AdapterExceptionType
-
连接超时
- sendTimeout → const AdapterExceptionType
-
发送超时
- receiveTimeout → const AdapterExceptionType
-
接收超时
- response → const AdapterExceptionType
-
响应错误(4xx, 5xx)
- cancel → const AdapterExceptionType
-
请求被取消
- connectionError → const AdapterExceptionType
-
连接错误(网络不可用等)
- unknown → const AdapterExceptionType
-
未知错误
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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 -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
AdapterExceptionType> - A constant List of the values in this enum, in order of their declaration.