Sourcemeta Core 0.0.0
Loading...
Searching...
No Matches
crypto_error.h
1#ifndef SOURCEMETA_CORE_CRYPTO_ERROR_H_
2#define SOURCEMETA_CORE_CRYPTO_ERROR_H_
3
4#ifndef SOURCEMETA_CORE_CRYPTO_EXPORT
5#include <sourcemeta/core/crypto_export.h>
6#endif
7
8#include <sourcemeta/core/error.h>
9
10namespace sourcemeta::core {
11
12SOURCEMETA_CORE_ERROR_WARNINGS_PUSH
13
17class SOURCEMETA_CORE_CRYPTO_EXPORT CryptoError : public Error {
18public:
21};
22
23SOURCEMETA_CORE_ERROR_WARNINGS_POP
24
25} // namespace sourcemeta::core
26
27#endif
CryptoError(const StaticString message) noexcept
Construct an error with the given message.
Definition crypto_error.h:20
auto message() const noexcept -> StaticString
Definition error_base.h:78
Error(const StaticString message) noexcept
Construct the error given its message.
Definition error_base.h:84
Definition text_static_string.h:20