TorrentException

Thrown when a libtorrent operation fails with a LibtorrentError. Mirrors the way libtorrent surfaces a libtorrent_category() error_code as a system_error / libtorrent_exception; the exception message is the error's human-readable LibtorrentError.message.

Constructors

Link copied to clipboard
constructor(error: LibtorrentError)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard

the underlying libtorrent error code that triggered this exception.

Link copied to clipboard
expect open val message: String?