class Socks5Exception
source · line 83public
public class Socks5Exception internal constructor(
/**
* The negotiation phase that failed.
*/
public val phase: Socks5Phase,
/**
* The proxy's CONNECT reply code when available.
*/
public val replyCode: UByte?,
message: String
) : Exception(Some(message))
- Supertype
Exception - Inherited
val message: Option<String>· Exception - Inherited
fun printStackTrace(): Unit· Throwable
Reports a SOCKS5 negotiation failure with phase and optional proxy reply code.
property replyCode
source · line 91public
public val replyCode: UByte?
get: public read-only
The proxy's CONNECT reply code when available.
property phase
source · line 87public
public val phase: Socks5Phase
get: public read-only
The negotiation phase that failed.