diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-02-18 21:05:10 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-02-18 21:05:10 -0500 |
commit | f7441431697e4ba94202a1484721ae8acf3a4ab7 (patch) | |
tree | 234c893f8cb90138d86b668ba12d0bf448de4b52 /docs/features | |
parent | 970c5fc42c69c1c03640c979df341e85e3c38848 (diff) | |
download | cmd2-git-f7441431697e4ba94202a1484721ae8acf3a4ab7.tar.gz |
Moved custom cmd2 exceptions to a separate file and removed them from public API
Diffstat (limited to 'docs/features')
-rw-r--r-- | docs/features/hooks.rst | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/docs/features/hooks.rst b/docs/features/hooks.rst index ee1d5fbc..ba9af573 100644 --- a/docs/features/hooks.rst +++ b/docs/features/hooks.rst @@ -102,12 +102,7 @@ called each time it was registered. Postparsing, precommand, and postcommand hook methods share some common ways to influence the command processing loop. -If a hook raises a ``cmd2.EmptyStatement`` exception: -- no more hooks (except command finalization hooks) of any kind will be called -- if the command has not yet been executed, it will not be executed -- no error message will be displayed to the user - -If a hook raises any other exception: +If a hook raises an exception: - no more hooks (except command finalization hooks) of any kind will be called - if the command has not yet been executed, it will not be executed - the exception message will be displayed for the user. |