Skip to content

Exceptions

Custom exceptions for RTN.

Exceptions: - GarbageTorrent: Raised when a torrent is considered garbage or invalid and should be ignored.

Refer to the respective docstrings for more information.

GarbageTorrent

Bases: Exception

Raised when a torrent is considered garbage or invalid and should be ignored.

Source code in RTN/exceptions.py
10
11
class GarbageTorrent(Exception):
    """Raised when a torrent is considered garbage or invalid and should be ignored."""