ParseError
enum ParseError : Error
Errors that occur while parsing a Shalon URL.
-
If this error occurs, too few proxies where specified in a Shalon URL. The URL
httpss://example.com/
will yield such an error, as there is only the targetexample.com
given, but no proxy.Declaration
Swift
case tooFewProxies
-
If this error occurs, a proxy specification within an URL is invalid. The URL
httpsss://proxy1/proxy2:/example.com/
will yield such an error, as there is no port after the second proxy. An invalid IPv6 address, e.g., due to missing brackets will also lead to this error.Declaration
Swift
case incorrectProxySpecification