ResourceTransformError class final

Why a resource transform fails a request.

See mln_resource_transform_error in the C API reference.

Constructors

ResourceTransformError({ResourceErrorReason reason = const ResourceErrorReason.fromRawValue(0), String message = '', int? retryAfterUnixMs})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
final
reason → ResourceErrorReason
final
retryAfterUnixMs → int?
When to retry, for ResourceErrorReason.rateLimit.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({ResourceErrorReason? reason, String? message, int? retryAfterUnixMs}) → ResourceTransformError
A copy of this value with the given members replaced.
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