blob: af99c2c86ac6038e37704580146948ee19695bbf [file] [log] [blame]
#pragma once
#include <exception>
#include <string>
class ToolException : public std::exception
{
public:
explicit ToolException(const std::string& message) : message(message){};
virtual const char* what() const noexcept override
{
return message.c_str();
}
private:
std::string message;
};