From 50dbd9007c03f3c0557ea264706216016971d1b3 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Tue, 12 Mar 2024 11:27:28 -0600 Subject: AƱade table.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/exceptions.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/exceptions.py (limited to 'src/exceptions.py') diff --git a/src/exceptions.py b/src/exceptions.py new file mode 100644 index 0000000..1c1b058 --- /dev/null +++ b/src/exceptions.py @@ -0,0 +1,3 @@ +class IncompatibleRowLengthError(Exception): + def __init__(self, row_len: int): + super().__init__(f"Incompatible row length, got {row_len}, expected 3") \ No newline at end of file -- cgit v1.2.3