diff options
| author | 2024-02-28 12:09:56 +0800 | |
|---|---|---|
| committer | 2024-02-28 12:09:56 +0800 | |
| commit | 8793ecea74706aedb4674434f65ef9d05850b769 (patch) | |
| tree | 425fcec75d4f899760a0919fa0604327b20309f9 /nivis-python/exception.py | |
| parent | ab026b7e0ba3baa1ffab7603e7f5fa47864427f7 (diff) | |
| download | TRPGNivis-8793ecea74706aedb4674434f65ef9d05850b769.tar.gz TRPGNivis-8793ecea74706aedb4674434f65ef9d05850b769.zip | |
refactor(bones)!: rename nivis-python -> nivis_python
Diffstat (limited to 'nivis-python/exception.py')
| -rw-r--r-- | nivis-python/exception.py | 37 |
1 files changed, 0 insertions, 37 deletions
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.") - ``` - """ |
