UnifiedHttpClientEnum enum

Enum class for all the exceptions and statusCodes

Inheritance
Available extensions

Values

badRequestError → const UnifiedHttpClientEnum

400

timeOutError → const UnifiedHttpClientEnum

TimeOut exception

forbiddenError → const UnifiedHttpClientEnum

403

conflictError → const UnifiedHttpClientEnum

409

internalServerError → const UnifiedHttpClientEnum

500

serverNotSupportError → const UnifiedHttpClientEnum

501

serverUnavailableError → const UnifiedHttpClientEnum

503

serverGatewayTimeOut → const UnifiedHttpClientEnum

server Gateway TimeOut The server, acting as a gateway or proxy, did not receive a timely response from an upstream server

unAuthorizationError → const UnifiedHttpClientEnum

401

notFoundError → const UnifiedHttpClientEnum

404

noInternetError → const UnifiedHttpClientEnum

When Internet is not available

platformExceptionError → const UnifiedHttpClientEnum

Platform Exception

socketExceptionError → const UnifiedHttpClientEnum

SocketException ( When base Url is no longer active or Internet issue)

undefined → const UnifiedHttpClientEnum

useually thrown when exception caught in Catch block or statusCode/Exception not defined in enum or Unkown to the package

formatExceptionError → const UnifiedHttpClientEnum

Format Exception

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<UnifiedHttpClientEnum>
A constant List of the values in this enum, in order of their declaration.