From 467c14f570779b7200b9dae3f34f389fb2f7b8ca Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sat, 26 Apr 2025 15:55:21 +0100 Subject: [PATCH] remove errors module --- obsws_cli/errors.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 obsws_cli/errors.py diff --git a/obsws_cli/errors.py b/obsws_cli/errors.py deleted file mode 100644 index 08525ff..0000000 --- a/obsws_cli/errors.py +++ /dev/null @@ -1,18 +0,0 @@ -"""Exceptions for obsws_cli.""" - - -class ObswsCliError(Exception): - """Base class for all exceptions raised by obsws_cli.""" - - def __init__(self, message: str): - """Initialize the exception with a message.""" - message = ( - message.split('With message: ')[1] - if 'With message: ' in message - else message - ) - super().__init__(message) - - -class ObswsCliBadParameter(ObswsCliError): - """Exception raised when a bad parameter is passed to a command."""