ProxyBlockedError class
Error thrown when a proxy is blocked or banned
- Inheritance
-
- Object
- ProxyError
- ProxyBlockedError
Constructors
- ProxyBlockedError.new({required String host, required int port, String? targetUrl, Object? cause, String? message, bool? isRetryable})
-
Creates a new ProxyBlockedError
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 blocked
final
- isRetryable → bool
-
Whether this error is retryable
finalinherited
- message → String
-
The error message
finalinherited
- port → int
-
The port that was blocked
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetUrl → String?
-
The target URL that blocked 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