userver: userver/storages/secdist/exceptions.hpp Source File
Loading...
Searching...
No Matches
exceptions.hpp
1#pragma once
2
3#include <stdexcept>
4
5USERVER_NAMESPACE_BEGIN
6
7namespace storages::secdist {
8
9class SecdistError : public std::runtime_error {
10 using std::runtime_error::runtime_error;
11};
12
13class InvalidSecdistJson : public SecdistError {
14 using SecdistError::SecdistError;
15};
16
17class UnknownMongoDbAlias : public SecdistError {
18 using SecdistError::SecdistError;
19};
20
22 using SecdistError::SecdistError;
23};
24
26 using SecdistError::SecdistError;
27};
28
29} // namespace storages::secdist
30
31USERVER_NAMESPACE_END