Files
chaos/Chaos/Service/ChaosException.hpp
hashlag 5d09391339
All checks were successful
ChaosTest CI / build-and-test (push) Successful in 31s
Add comments on closing #include guard #endif's
2026-01-02 21:40:07 +03:00

32 lines
531 B
C++

#ifndef CHAOS_SERVICE_CHAOSEXCEPTION_HPP
#define CHAOS_SERVICE_CHAOSEXCEPTION_HPP
#include <string>
namespace Chaos::Service
{
class ChaosException
{
public:
ChaosException(std::string && message)
: Message_(std::move(message))
{ }
ChaosException(const std::string & message)
: Message_(message)
{ }
const std::string & GetMessage() const
{
return Message_;
}
private:
std::string Message_;
};
} // namespace Chaos::Service
#endif // CHAOS_SERVICE_CHAOSEXCEPTION_HPP