aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server/lexer/error.hpp
blob: 99944c776aa8a2d3b4173cdff859bc9608d1d5fb (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 LexerError : public Error {
public:
    explicit LexerError(const std::string &what)
        : Error{"lexer error: " + what}
    { }
};

}