| 38 | }; |
| 39 | |
| 40 | class ParseError : public std::runtime_error { |
| 41 | public: |
| 42 | explicit ParseError(const std::string& whatArg); |
| 43 | explicit ParseError(const char* whatArg); |
| 44 | ~ParseError() noexcept override; |
| 45 | ParseError(const ParseError&); |
| 46 | |
| 47 | private: |
| 48 | ParseError& operator=(const ParseError&); |
| 49 | }; |
| 50 | |
| 51 | class InvalidArgument : public std::runtime_error { |
| 52 | public: |
no outgoing calls