#pragma once #include #include using namespace std; class NameError : public runtime_error{ public: NameError(const string &what_arg); NameError(const char *what_arg); }; class TypeError : public runtime_error{ public: TypeError(const string &what_arg); TypeError(const char *what_arg); }; class FormError : public runtime_error{ public: FormError(const string &what_arg); FormError(const char *what_arg); };