2c8cdd3ab1
Working but need to check out code
22 lines
478 B
Python
22 lines
478 B
Python
"""qBittorrent API exceptions."""
|
|
|
|
|
|
class QBittorrentError(Exception):
|
|
"""Base exception for qBittorrent-related errors."""
|
|
pass
|
|
|
|
|
|
class QBittorrentConfigurationError(QBittorrentError):
|
|
"""Raised when qBittorrent is not properly configured."""
|
|
pass
|
|
|
|
|
|
class QBittorrentAPIError(QBittorrentError):
|
|
"""Raised when qBittorrent API returns an error."""
|
|
pass
|
|
|
|
|
|
class QBittorrentAuthError(QBittorrentError):
|
|
"""Raised when authentication fails."""
|
|
pass
|