// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved.
#pragma once
#include "Engine/Debug/Exception.h"
namespace Log
{
///
/// The exception that is thrown when an I/O error occurs.
///
class IOException : public Exception
{
public:
///
/// Init
///
IOException()
: IOException(String::Empty)
{
}
///
/// Creates default exception with additional data
///
/// Additional information that help describe error
IOException(const String& additionalInfo)
: Exception(TEXT("I/O error occurred."), additionalInfo)
{
}
};
}