def exception_models_to_message(exceptions: list) -> str:
    """Formats a list of exception models into a single string """
    message = ""
    for exception in exceptions:
        if message: message += "\n\n"
        message += f"Code: {exception.code}" \
                   f"\nMessage: {exception.message}" \
                   f"\nSeverity: {exception.severity}" \
                   f"\nData: {exception.data}"

    return message