ProtocolError

data class ProtocolError(val message: String) : SftpResult<Nothing> (source)

SFTP protocol violation (unexpected packet type, malformed data).

Constructors

Link copied to clipboard
constructor(message: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun <T> SftpResult<T>.getOrNull(): T?

Convenience: extract value or null for success, throws nothing.

Link copied to clipboard

Convenience: extract value or throw for interop with blocking APIs.