diff options
Diffstat (limited to 'cryptlib.h')
-rw-r--r-- | cryptlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -642,6 +642,7 @@ public: class BadState : public Exception { public: + explicit BadState(const std::string &name, const char *message) : Exception(OTHER_ERROR, name + ": " + message) {} explicit BadState(const std::string &name, const char *function, const char *state) : Exception(OTHER_ERROR, name + ": " + function + " was called before " + state) {} }; |