DexcomExceptionType enum

An enumerator defining the possible types of DexcomException.

Inheritance

Constructors

DexcomExceptionType()
const

Values

FOUND → const DexcomExceptionType

Code = 302. The requested resource resides under a different URL (used in redirect for authentication purposes).

NOT_FOUND → const DexcomExceptionType

Code = 404. It occurs when the Dexcom API resource is not found

BAD_REQUEST → const DexcomExceptionType

Code = 400. It occurs when the request URL is bad formatted (it should never happen).

UNAUTHORIZED → const DexcomExceptionType

Code = 401. When the requester has no permissions to resolve the request.

TOO_MANY_REQUESTS → const DexcomExceptionType

Code = 429. When the request rate limit is exceeded.

INTERNAL_SERVER_ERROR → const DexcomExceptionType

Code = 500. When the server encountered an unexpected condition which prevented it from fulfilling the request.

DEFAULT → const DexcomExceptionType

Code = Any. Default error type.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<DexcomExceptionType>
A constant List of the values in this enum, in order of their declaration.