// SPDX-License-Identifier: BSD-3-Clause #ifndef INVERTER_TOOLS_PROTOCOL_EXCEPTIONS_H #define INVERTER_TOOLS_PROTOCOL_EXCEPTIONS_H #include namespace protocol { class InvalidResponseError : public std::runtime_error { public: using std::runtime_error::runtime_error; }; class ParseError : public InvalidResponseError { public: using InvalidResponseError::InvalidResponseError; }; } #endif //INVERTER_TOOLS_PROTOCOL_EXCEPTIONS_H