memgraph/src/query_engine/exceptions/errors.hpp

13 lines
280 B
C++
Raw Normal View History

#pragma once
#include "utils/exceptions/basic_exception.hpp"
// TODO: optimaze exceptions in respect to cypher/errors.hpp
class SemanticError : public BasicException
{
public:
SemanticError(const std::string& what) :
BasicException("Semantic error: " + what) {}
};