blob: 4febe280b2205f6ff46325f9cd4da9663ede15dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// SPDX-License-Identifier: BSD-3-Clause
#ifndef INVERTER_TOOLS_PROTOCOL_EXCEPTIONS_H
#define INVERTER_TOOLS_PROTOCOL_EXCEPTIONS_H
#include <stdexcept>
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
|