Source code for cligram.exceptions.application

from . import CligramError


[docs] class ApplicationError(CligramError): """Base exception class for application-related errors.""" pass
[docs] class ApplicationNotRunningError(ApplicationError): """Raised when there is an attempt to perform an operation that requires the application to be running.""" pass
[docs] class ApplicationAlreadyRunningError(ApplicationError): """Raised when there is an attempt to start the application while it is already running.""" pass