Note
The content of this page is generated by running
trb_english_markdown.py located in the tests/
directory.
This needs to be done explicitly, independently of updating the
documentation using Sphinx.
Friendly version: 0.3.142
Python version: 3.8.10
---
## ArithmeticError
### Generic
Traceback (most recent call last):
File "TESTS:\runtime\test_arithmetic_error.py", line 9, in test_Generic
raise ArithmeticError('error')
ArithmeticError: error
`ArithmeticError` is the base class for those built-in exceptions
that are raised for various arithmetic errors.
It is unusual that you are seeing this exception;
normally, a more specific exception should have been raised.
Exception raised on line 9 of file TESTS:\runtime\test_arithmetic_error.py.
7: # Usually, a subclass such as ZeroDivisionError, etc., would
8: # likely be raised.
--> 9: raise ArithmeticError('error')
10: except ArithmeticError as e:
ArithmeticError: