Derived from the tryceratops linter.
What it does#
Checks for exceptions that are re-raised without specifying the cause via
Why is this bad?#
from keyword sets the
__cause__ attribute of the exception, which
stores the "cause" of the exception. The availability of an exception
"cause" is useful for debugging.