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