26 lines
482 B
Python
26 lines
482 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
|