userver: userver/dynamic_config/exception.hpp Source File
Loading...
Searching...
No Matches
exception.hpp
1#pragma once
2
3#include <stdexcept>
4
5USERVER_NAMESPACE_BEGIN
6
7namespace dynamic_config {
8
9class Error : public std::runtime_error {
10public:
11 using std::runtime_error::runtime_error;
12};
13
14class ConfigParseError : public Error {
15public:
16 using Error::Error;
17};
18
19} // namespace dynamic_config
20
21USERVER_NAMESPACE_END