try: raise TypeError('bad type') except* TypeError as e: raise ValueError('bad value') from e