// Copyright (c) 2019 Egor Tensin // This file is part of the "math-server" project. // For details, see https://github.com/egor-tensin/math-server. // Distributed under the MIT License. #pragma once #include #include namespace math::server { class ParserError : public Error { public: explicit ParserError(const std::string& what) : Error{"parser error: " + what} {} }; } // namespace math::server