Source code for cligram.exceptions.session
from . import CligramError
[docs]
class SessionError(CligramError):
"""Base exception class for session-related errors."""
pass
[docs]
class SessionMismatchError(SessionError):
"""Raised when the session's API ID does not match the configured API ID."""
pass
[docs]
class SessionNotFoundError(SessionError, FileNotFoundError):
"""Raised when the specified session file is not found."""
pass