nedpals/errgoengine

[ERROR TEMPLATE] Python - ZeroDivisionError

nedpals opened this issue · 0 comments

Name Type Code Language
ZeroDivisionError Runtime Exception python.lang.ZeroDivisionError Python

Description

Raised when the second operand of a division or modulo operation is zero.

Sample Code

print(1 / 0)

Sample Error Message

Traceback (most recent call last):
  File "zero_division_error.py", line 1, in <module>
    print(1 / 0)
          ~~^~~
ZeroDivisionError: division by zero

Implementation Checklist

  • Implemented analysis
  • Implemented explanation translation
  • Implemented bug fix generation
  • Add tests