The special writable attribute tb_next is the next level in the stack trace (towards the frame where the exception occurred), or None if there is no next level.
traceback/tb_next
tb_next