For syntax errors - the end line number where the error occurred. Can be None if not present.
traceback/TracebackException.end_lineno
TracebackException.end_lineno