def METHOD_NAME(exc: Exception) -> str:
    """Given an exception, produces its traceback in plain text.
    Args:
        exc: An Exception instance to render debug response from.
    Returns:
        A string containing exception traceback.
    """
    return "".join(format_exception(type(exc), value=exc, tb=exc.__traceback__))