GenericError

data class GenericError(val cause: Throwable) : KaliumException

Generic errors e.g. Serialization errors

Constructors

Link copied to clipboard
constructor(cause: Throwable)

Properties

Link copied to clipboard
open override val cause: Throwable
Link copied to clipboard
expect open val message: String?

Functions

Link copied to clipboard
actual fun Throwable.isPlatformProxyFailure(): Boolean

CFNetwork reports a rejected SOCKS5 username/password as POSIX EAUTH, not as an HTTP 401.

expect fun Throwable.isPlatformProxyFailure(): Boolean

Recognizes platform error codes that cannot be identified by the JVM SOCKS exception message.

actual fun Throwable.isPlatformProxyFailure(): Boolean

Recognizes platform error codes that cannot be identified by the JVM SOCKS exception message.

actual fun Throwable.isPlatformProxyFailure(): Boolean

Recognizes platform error codes that cannot be identified by the JVM SOCKS exception message.