FitbitExceptionType enum

An enumerator defining the possible types of FitbitException.

Inheritance

Constructors

FitbitExceptionType()
const

Values

NOT_FOUND → const FitbitExceptionType

It occurs when the Fitbit API resource is not found

FORBIDDEN → const FitbitExceptionType

It occurs when there are no sufficent permissions to resolve the request.

BAD_REQUEST → const FitbitExceptionType

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

UNAUTHORIZED → const FitbitExceptionType

When the requester has no permissions to resolve the request.

RATE_LIMIT_EXCEEDED → const FitbitExceptionType

When the rate limit is exceeded.

DEFAULT → const FitbitExceptionType

Default error type.

UNEXISTENT_FITBIT_REQUEST → const FitbitExceptionType

When the requested resource does not exist

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