Files
chat/venv/lib/python3.12/site-packages/click_repl/exceptions.py
Andrew K. Choi ddce9f5125
All checks were successful
continuous-integration/drone/push Build is passing
Major fixes and new features
2025-09-25 15:51:48 +09:00

24 lines
445 B
Python

class InternalCommandException(Exception):
pass
class ExitReplException(InternalCommandException):
pass
class CommandLineParserError(Exception):
pass
class InvalidGroupFormat(Exception):
pass
# Handle click.exceptions.Exit introduced in Click 7.0
try:
from click.exceptions import Exit as ClickExit
except (ImportError, ModuleNotFoundError):
class ClickExit(RuntimeError): # type: ignore[no-redef]
pass