raise XYZ('A bad thing happened') raise XYZ('A bad thing happened') from None raise XYZ('A bad thing happened') from original_error
__cause__
Index