blob: 1c00794fa226c892c2649d170571cf3f5b5b640a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# coding=utf-8
"""Custom exceptions for cmd2. These are NOT part of the public API and are intended for internal use only."""
class CmdLineError(Exception):
"""Custom class for when an error occurred parsing the command line"""
pass
class EmbeddedConsoleExit(SystemExit):
"""Custom exception class for use with the py command."""
pass
class EmptyStatement(Exception):
"""Custom exception class for handling behavior when the user just presses <Enter>."""
pass
|