Updates
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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
|
||||
Reference in New Issue
Block a user