blob: 78c9a66a72d79e8b986428eb2968fee2f9ad7384 [file] [log] [blame]
#pragma once
#include <exception>
#include <string>
namespace ipmiblob
{
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 ipmiblob