TorrentErrorAlert
data class TorrentErrorAlert(val torrentName: String?, val errorValue: Int = 0, val errorMessage: String? = null, val filename: String = "") : TorrentAlert
Posted whenever a torrent is transitioned into the error state. Ported from libtorrent::torrent_error_alert (alert_type 64).
libtorrent renders "<name> ERROR: (<value> <message>) <filename>" when an error code is set, or "<name> ERROR: <filename>" otherwise.
Properties
Link copied to clipboard
The bitmask of AlertCategory flags this alert belongs to. Mirrors alert::category(), which returns the concrete alert's static_category.
Link copied to clipboard
the error description, or null/empty if unset.
Link copied to clipboard
the libtorrent error value (error.value()), or 0 if unset.
Link copied to clipboard
the torrent's name, or null when the handle would be invalid (rendered as " - ", matching libtorrent).