13 lines
280 B
C++
13 lines
280 B
C++
|
#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) {}
|
||
|
};
|