17 lines
266 B
C++
17 lines
266 B
C++
#pragma once
|
|
|
|
#include <stdexcept>
|
|
#include <memory>
|
|
#include <vector>
|
|
|
|
namespace MbD {
|
|
class SyntaxError : virtual public std::runtime_error
|
|
{
|
|
|
|
public:
|
|
//SyntaxError();
|
|
explicit SyntaxError(const std::string& msg);
|
|
virtual ~SyntaxError() noexcept {}
|
|
};
|
|
}
|