From 719b598e98baff2cf5ea34bb6d36eddd8fd29f38 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Thu, 28 Sep 2023 00:09:06 +0800 Subject: feat(src): delete `src` dir & rename `psi` dir feat(frame): 添加`Lib` `Grammar` `Modules` 目录 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/psi/exception.py | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 src/psi/exception.py (limited to 'src/psi/exception.py') diff --git a/src/psi/exception.py b/src/psi/exception.py deleted file mode 100644 index a8b7201..0000000 --- a/src/psi/exception.py +++ /dev/null @@ -1,36 +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