init auth and main function

This commit is contained in:
Yuriy Yuriev
2026-05-14 16:15:58 +07:00
commit 27c53e897e
47 changed files with 5750 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
"""Custom exceptions for the application."""
class BotError(Exception):
"""Base exception for bot errors."""
pass
class ProxyError(BotError):
"""Proxy related errors."""
pass
class ProxyTimeoutError(ProxyError):
"""Raised when proxy acquisition times out."""
pass
class NoProxiesAvailableError(ProxyError):
"""Raised when no proxies are available."""
pass
class BrowserError(BotError):
"""Browser related errors."""
pass
class IRCError(BotError):
"""IRC related errors."""
pass
class IRCConnectionError(IRCError):
"""Raised when IRC connection fails."""
pass
class TaskError(BotError):
"""Task related errors."""
pass