o
    NEþgÈ  ã                   @   sx   d Z G dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG d	d
„ d
eƒZG dd„ deƒZG dd„ deƒZ	dS )zCustom exceptions for cmd2c                   @   ó   e Zd ZdZdS )ÚSkipPostcommandHooksz£
    Custom exception class for when a command has a failure bad enough to skip post command
    hooks, but not bad enough to print the exception to the user.
    N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r   r   úi/var/www/eduai.edurigo.com/doc_train/edurigo_ai/Puru/venv/lib/python3.10/site-packages/cmd2/exceptions.pyr   	   ó    r   c                   @   r   )ÚCmd2ArgparseErroraj  
    A ``SkipPostcommandHooks`` exception for when a command fails to parse its arguments.
    Normally argparse raises a SystemExit exception in these cases. To avoid stopping the command
    loop, catch the SystemExit and raise this instead. If you still need to run post command hooks
    after parsing fails, just return instead of raising an exception.
    Nr   r   r   r   r	   r      s    r   c                   @   r   )ÚCommandSetRegistrationErrorz…
    Exception that can be thrown when an error occurs while a CommandSet is being added or removed
    from a cmd2 application.
    Nr   r   r   r   r	   r      r
   r   c                   @   r   )ÚCmd2ShlexErrorzIRaised when shlex fails to parse a command line string in StatementParserNr   r   r   r   r	   r   '   ó    r   c                   @   r   )ÚEmbeddedConsoleExitz3Custom exception class for use with the py command.Nr   r   r   r   r	   r   ,   r   r   c                   @   r   )ÚEmptyStatementzPCustom exception class for handling behavior when the user just presses <Enter>.Nr   r   r   r   r	   r   1   r   r   c                   @   r   )ÚRedirectionErrorzBCustom exception class for when redirecting or piping output failsNr   r   r   r   r	   r   6   r   r   N)
r   Ú	Exceptionr   r   r   r   Ú
SystemExitr   r   r   r   r   r   r	   Ú<module>   s   
