diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-12-22 22:43:56 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-12-23 21:04:49 +0000 |
| commit | 5ab0c3bc04e4aa5acd883bb8126fc6b185c6c5d6 (patch) | |
| tree | d03668797778e28f2b601f72aff30bdb093de61a /src/lib/exceptions.h | |
| parent | 4f47104941f57dda9994d45bfebbcfedd3db2e84 (diff) | |
Incomplete encryption of private keys.
Diffstat (limited to 'src/lib/exceptions.h')
| -rw-r--r-- | src/lib/exceptions.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h index eceafa105..fe87ababc 100644 --- a/src/lib/exceptions.h +++ b/src/lib/exceptions.h @@ -44,6 +44,14 @@ public: {} }; +class CryptoError : public std::runtime_error +{ +public: + explicit CryptoError (std::string s) + : std::runtime_error (s) + {} +}; + /** @class EncodeError * @brief A low-level problem with an encoder. */ |
