ProxyValidationError class
Error thrown when a proxy validation fails
- Inheritance
-
- Object
- ProxyError
- ProxyValidationError
Constructors
- ProxyValidationError.new({required String host, required int port, required String reason, Object? cause, String? message, bool? isRetryable})
-
Creates a new ProxyValidationError
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 failed validation
final
- isRetryable → bool
-
Whether this error is retryable
finalinherited
- message → String
-
The error message
finalinherited
- port → int
-
The port that failed validation
final
- reason → String
-
The reason for the validation failure
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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