userver
C++ Async Framework
Loading...
Searching...
No Matches
exception.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/crypto/exception.hpp
4
/// @brief Exception classes for crypto module
5
6
#
include
<
memory
>
7
8
#
include
<
userver
/
utils
/
traceful_exception
.
hpp
>
9
10
USERVER_NAMESPACE_BEGIN
11
12
namespace
crypto {
13
14
/// Base exception
15
class
CryptoException
:
public
utils::
TracefulException
{
16
public
:
17
using
utils::
TracefulException
::TracefulException;
18
};
19
20
/// Signature generation error
21
class
SignError
:
public
CryptoException
{
22
public
:
23
using
CryptoException
::CryptoException;
24
};
25
26
/// Signature verification error
27
class
VerificationError
:
public
CryptoException
{
28
public
:
29
using
CryptoException
::CryptoException;
30
};
31
32
/// Signing key parse error
33
class
KeyParseError
:
public
CryptoException
{
34
public
:
35
using
CryptoException
::CryptoException;
36
};
37
38
/// Serialization error
39
class
SerializationError
:
public
CryptoException
{
40
public
:
41
using
CryptoException
::CryptoException;
42
};
43
44
}
// namespace crypto
45
46
USERVER_NAMESPACE_END
userver
crypto
exception.hpp
Generated on Wed May 15 2024 22:34:47 for userver by
Doxygen
1.10.0