HttpError class
Constructors
- HttpError.new(String? code, String? message)
- HttpError.dioError(DioError error)
Properties
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
Constants
- BAD_GATEWAY → const int
- CANCEL → const String
- 网络请求取消
- CONNECT_TIMEOUT → const String
- 连接超时
- FORBIDDEN → const int
- GATEWAY_TIMEOUT → const int
- HTTP_ERROR → const String
- 协议错误
- INTERNAL_SERVER_ERROR → const int
- NETWORK_ERROR → const String
- 网络错误
- NOT_FOUND → const int
- PARSE_ERROR → const String
- 解析错误
- RECEIVE_TIMEOUT → const String
- 响应超时
- REQUEST_TIMEOUT → const int
- SEND_TIMEOUT → const String
- 发送超时
- SERVICE_UNAVAILABLE → const int
- SSL_ERROR → const String
- 证书错误
- UNAUTHORIZED → const int
- HTTP 状态码
- UNKNOWN → const String
- 未知错误