HttpError class

Inheritance

Constructors

HttpError.new(int? code, String? message)

Properties

code int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String?
getter/setter pair
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

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

Static Methods

helper({int? errorType, Error? error}) String

Constants

BAD_GATEWAY → const int
CANCEL → const String
cancel error
CONNECT_TIMEOUT → const String
http request connect timeout error
FORBIDDEN → const int
GATEWAY_TIMEOUT → const int
HTTP_ERROR → const String
http error
INTERNAL_SERVER_ERROR → const int
MULTIFILE_NOT_FOUND → const int
NETWORK_ERROR → const String
network error
NOT_FOUND → const int
PARSE_ERROR → const String
parse error
RECEIVE_TIMEOUT → const String
http response timeout error
REQUEST_TIMEOUT → const int
RESPONSE_FORMAT_ERROR → const int
RuntimeTypeMapper → const Map<String, int>
SEND_TIMEOUT → const String
send in queuing timeout error
SERVICE_UNAVAILABLE → const int
SSL_ERROR → const String
ssl certificate error
UNAUTHORIZED → const int
UNKNOWN → const String
unknown error