userver: /data/code/userver/libraries/protobuf/include/userver/protobuf/exceptions.hpp Source File
Loading...
Searching...
No Matches
exceptions.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/protobuf/exceptions.hpp
4/// @brief Exceptions thrown by the library.
5
6#include <stdexcept>
7
8USERVER_NAMESPACE_BEGIN
9
10/// @brief Top namespace for the userver protobuf library.
11namespace protobuf {
12
13/// @brief Library base exception type.
14class Error : public std::runtime_error {
15public:
16 using std::runtime_error::runtime_error;
17};
18
19} // namespace protobuf
20
21USERVER_NAMESPACE_END