IForeventsRateLimitedException class
Too many requests in a short window (429 without a quota code). The integration retries after retryAfter when retries are enabled and re-queues the events otherwise.
- Inheritance
-
- Object
- IForeventsAPIException
- IForeventsRateLimitedException
Constructors
-
IForeventsRateLimitedException(String message, {Map<
String, dynamic> ? details, Duration? retryAfter}) -
const
Properties
- code → String?
-
The stable machine-readable code (
errorfield) when the API set one.no setterinherited -
details
→ Map<
String, dynamic> ? -
Decoded error body, when the API sent JSON.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable description.
finalinherited
- retryAfter → Duration?
-
Server-suggested wait, from the Retry-After header.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
HTTP status of the failed request, when there was a response.
finalinherited
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