Source code for command_line_assistant.exceptions

"""Module that holds the exceptions for the client part of the codebase."""


[docs] class StopInteractiveMode(Exception): """Control the interactive mode execution"""
[docs] class ChatCommandException(Exception): """Exception class to control chat command.""" code: int = 80
[docs] class ShellCommandException(Exception): """Exception class to control shell command.""" code: int = 81
[docs] class HistoryCommandException(Exception): """Exception class to control history command.""" code: int = 82
[docs] class FeedbackCommandException(Exception): """Exception class to control feedback command.""" code: int = 83