NorbixRateLimitError class

429 — rate limited. Retry-After (seconds) is in details when present.

Inheritance

Constructors

NorbixRateLimitError({required String message, String code = 'NORBIX_RATE_LIMITED', int status = 429, Map<String, dynamic> details = const {}})
const

Properties

code String
Norbix-specific error code (or NORBIX_HTTP_ERROR if the server did not provide one).
finalinherited
details Map<String, dynamic>
Full parsed response body (or transport context) for debugging.
finalinherited
hashCode int
The hash code for this object.
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