userver: userver/dynamic_config/exception.hpp Source File
Loading...
Searching...
No Matches
exception.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/dynamic_config/exception.hpp
4/// @brief Dynamic configuration exception types
5
6#include <stdexcept>
7
8USERVER_NAMESPACE_BEGIN
9
10namespace dynamic_config {
11
12class Error : public std::runtime_error {
13public:
14 using std::runtime_error::runtime_error;
15};
16
17class ConfigParseError : public Error {
18public:
19 using Error::Error;
20};
21
22} // namespace dynamic_config
23
24USERVER_NAMESPACE_END