PeerErrorAlert
data class PeerErrorAlert(val torrentName: String?, val endpoint: String, val client: String = "Unknown", val operation: String = "bittorrent", val errorCategory: String = "system", val errorMessage: String) : PeerAlert
Generated when a peer sends invalid data over the peer protocol and is disconnected. Ported from libtorrent::peer_error_alert (alert_type 22).
libtorrent renders <peer-prefix> peer error [<operation>] [<errorCategory>]: <errorMessage>.
Constructors
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 category name (error.category().name()).
Link copied to clipboard
the error description.
Link copied to clipboard
the torrent's name, or null when the handle would be invalid (rendered as " - ", matching libtorrent).