ResourceErrorReason class final

Why a resource request failed.

See mln_resource_error_reason in the C API reference.

Constructors

ResourceErrorReason.fromRawValue(int rawValue)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
rawValue → int
The value's C representation, which may be one this binding predates.
finalinherited
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

connection → const ResourceErrorReason
The server couldn't be reached.
notFound → const ResourceErrorReason
other → const ResourceErrorReason
A reason that no other value names.
rateLimit → const ResourceErrorReason
server → const ResourceErrorReason
The server reported an error.