From 7e09a0d3215782dc859c4f291689077302eb95a5 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Wed, 2 Aug 2023 15:45:25 +0100 Subject: [PATCH] VBANCMDConnectionError now subclasses VBANCMDError --- pyproject.toml | 2 +- vban_cmd/error.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f44a350..0a12866 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "vban-cmd" -version = "2.3.3" +version = "2.4.0" description = "Python interface for the VBAN RT Packet Service (Sendtext)" authors = ["onyx-and-iris "] license = "MIT" diff --git a/vban_cmd/error.py b/vban_cmd/error.py index bb4925b..4c635c6 100644 --- a/vban_cmd/error.py +++ b/vban_cmd/error.py @@ -1,6 +1,6 @@ class VBANCMDError(Exception): - """Exception raised when general errors occur""" + """Base VBANCMD Exception class. Raised when general errors occur""" -class VBANCMDConnectionError(Exception): +class VBANCMDConnectionError(VBANCMDError): """Exception raised when connection/timeout errors occur"""