diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-05-07 14:32:29 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-05-07 14:32:29 -0400 |
commit | c50db52da00f4e544a6b3a19ee5b0f54e8503914 (patch) | |
tree | f0557888a6bd3afe9915ce51f6eeb9da3e9a15ba /docs/api/exceptions.rst | |
parent | d4653e6fccf0bc15d04075110769c11befb22819 (diff) | |
download | cmd2-git-c50db52da00f4e544a6b3a19ee5b0f54e8503914.tar.gz |
Added SkipPostcommandHooks exception and made Cmd2ArgparseError inherit from it.
Both exception classes have been added to the public API.
Diffstat (limited to 'docs/api/exceptions.rst')
-rw-r--r-- | docs/api/exceptions.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/api/exceptions.rst b/docs/api/exceptions.rst new file mode 100644 index 00000000..8ef0a61f --- /dev/null +++ b/docs/api/exceptions.rst @@ -0,0 +1,11 @@ +cmd2.exceptions +=============== + +Custom cmd2 exceptions + + +.. autoclass:: cmd2.exceptions.SkipPostcommandHooks + :members: + +.. autoclass:: cmd2.exceptions.Cmd2ArgparseError + :members: |