// Copyright (c) 2012-2022 Wojciech Figat. All rights reserved. #pragma once #include "Engine/Debug/Exception.h" namespace Log { /// /// The exception that is thrown when time interval allotted to an operation has expired. /// class TimeoutException : public Exception { public: /// /// Init /// TimeoutException() : TimeoutException(String::Empty) { } /// /// Creates default exception with additional data /// /// Additional information that help describe error TimeoutException(const String& additionalInfo) : Exception(TEXT("Current operation has timed out."), additionalInfo) { } }; }