NorbixRateLimitError class
429 — rate limited. Retry-After (seconds) is in details when present.
- Inheritance
-
- Object
- NorbixError
- NorbixRateLimitError
Constructors
-
NorbixRateLimitError({required String message, List<
NorbixErrorItem> errors = const [], Object? body, String code = 'NORBIX_RATE_LIMITED', int status = 429, Map<String, dynamic> details = const {}}) -
const
Properties
- body → Object?
-
The answer exactly as it arrived, for whoever needs the rest of it.
finalinherited
- code → String
-
Norbix-specific error code (or
NORBIX_HTTP_ERRORif the server did not provide one).finalinherited -
details
→ Map<
String, dynamic> -
Full parsed response body (or transport context) for debugging.
finalinherited
- errorCode → String
-
Same value as code. The name every Norbix SDK uses for it.
no setterinherited
-
errors
→ List<
NorbixErrorItem> -
Every error the gateway sent, in the order it sent them.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpStatus → int
-
Same value as status. The name every Norbix SDK uses for it.
no setterinherited
- message → String
-
Human-readable message extracted from the response body when possible.
finalinherited
- retryAfterSeconds → int?
-
Seconds the server asked us to wait, or null if unknown.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int
-
HTTP status code, or 0 for transport-level failures (DNS, timeout).
finalinherited
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