summaryrefslogtreecommitdiff
path: root/src/exceptions/tokenizer_exception.hpp
blob: 2366bb116a2831bcef41e83878f6472e4476744b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once
#include <string>

class TokenizerException {
private:
  std::string message;
public:
  TokenizerException(std::string error) : message{error} {}
  const std::string &getError() const {
    return message;
  }
};