ProxyRateLimitedError class

Error thrown when a proxy is rate limited

Inheritance

Constructors

ProxyRateLimitedError({required String host, required int port, String? targetUrl, int? retryAfterSeconds, Object? cause, String? message, bool? isRetryable})
Creates a new ProxyRateLimitedError
const

Properties

cause → Object?
The underlying error that caused this error
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
host → String
The host that was rate limited
final
isRetryable → bool
Whether this error is retryable
finalinherited
message → String
The error message
finalinherited
port → int
The port that was rate limited
final
retryAfterSeconds → int?
The retry-after time in seconds, if available
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
targetUrl → String?
The target URL that rate limited the proxy
final
type → ProxyErrorType
The error type
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