import traceback


def format_traceback_string(exception):
    """Format exception traceback as a single string.

    Args:
        exception: Exception object.

    Returns:
        Full exception traceback as a string.
    """
    return '\n'.join(
        traceback.TracebackException.from_exception(exception).format()
    )