From e2c1c1911e117245551a612499d02eacabbbe5d8 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Sun, 25 Feb 2024 12:00:16 +0800 Subject: refactor: rename nivis-python to nivis --- nivis-python/exception.py | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 nivis-python/exception.py (limited to 'nivis-python/exception.py') diff --git a/nivis-python/exception.py b/nivis-python/exception.py deleted file mode 100644 index 0ec22e5..0000000 --- a/nivis-python/exception.py +++ /dev/null @@ -1,37 +0,0 @@ -class PsiException(Exception): - """ - An exception class for Psi-specific exceptions. - - This class inherits from the built-in `Exception` class. - - Example: - ```python - raise PsiException("An error occurred in the Psi code.") - ``` - """ - - -class ValueError(PsiException): - """ - An exception class for value-related errors in Psi code. - - This class inherits from the `PsiException` class. - - Example: - ```python - raise ValueError("Invalid value encountered in the Psi code.") - ``` - """ - - -class GrammarError(PsiException): - """ - An exception class for grammar-related errors in Psi code. - - This class inherits from the `PsiException` class. - - Example: - ```python - raise GrammarError("Invalid grammar encountered in the Psi code.") - ``` - """ -- cgit v1.2.3-70-g09d2