diff options
Diffstat (limited to 'cmd2/exceptions.py')
-rw-r--r-- | cmd2/exceptions.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd2/exceptions.py b/cmd2/exceptions.py index 15787177..635192e1 100644 --- a/cmd2/exceptions.py +++ b/cmd2/exceptions.py @@ -24,3 +24,8 @@ class EmbeddedConsoleExit(SystemExit): class EmptyStatement(Exception): """Custom exception class for handling behavior when the user just presses <Enter>.""" pass + + +class RedirectionError(Exception): + """Custom exception class for when redirecting or piping output fails""" + pass |