← index
cplusplus17.Examples/examples/ScanLex/scan_exception.hpp
Source: cplusplus17.Examples/examples/ScanLex/scan_exception.hpp
#ifndef _SCAN_EX_H_
#define _SCAN_EX_H_

#include<iostream>

namespace scan {
    class ScanException {
    public:
        ScanException(const std::string &txt);
        std::string error();
    protected:
        std::string text;
    };
}


#endif