aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server/parser/error.hpp
blob: 1ba29ed5978bc172f54f7fe6eb67ccf019907c1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include "../common/error.hpp"

#include <string>

namespace math::server {

class ParserError : public Error {
public:
    explicit ParserError(const std::string& what)
        : Error{"parser error: " + what}
    { }
};

}