blob: b737b7bc1aed4cb6305a457a996bc5361e5b5f72 [file] [log] [blame]
#pragma once
#include <exception>
#include <string>
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;
};