Skip to content

Commit 4ffd58a

Browse files
committed
Fix formatting cauing doc build errors
1 parent 508fb30 commit 4ffd58a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/source/user_guide/ansys_exceptions.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ You can import exception classes and use the predefined exceptions directly in y
2323
2424
You can also extend the base exception class to define your own custom exceptions. This allows you to create error types specific to your needs:
2525

26-
```python
27-
class CustomError(AnsysError):
28-
"""A custom exception for specific error handling."""
26+
.. code:: python
2927
30-
pass
28+
class CustomError(AnsysError):
29+
"""A custom exception for specific error handling."""
3130
31+
pass
3232
33-
raise CustomError("This is a custom error message.")
33+
raise CustomError("This is a custom error message.")
3434
```

0 commit comments

Comments
 (0)