diff options
Diffstat (limited to 'src/psi/exception.py')
| -rw-r--r-- | src/psi/exception.py | 36 |
1 files changed, 0 insertions, 36 deletions
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.") - ``` - """ |
