memgraph/include/mvcc/serialization_error.hpp
2016-08-10 09:39:02 +01:00

16 lines
362 B
C++

#pragma once
#include <stdexcept>
class SerializationError : public std::runtime_error
{
static constexpr const char* default_message = "Can't serialize due to\
concurrent operation(s)";
public:
SerializationError() : runtime_error(default_message) {}
SerializationError(const std::string& message)
: runtime_error(message) {}
};