Allow CryptoExceptions to be fatal
This commit is contained in:
+3
-1
@@ -32,7 +32,9 @@ namespace Crypto {
|
||||
class CryptoException {
|
||||
public:
|
||||
string text;
|
||||
CryptoException( string s_text ) : text( s_text ) {};
|
||||
bool fatal;
|
||||
CryptoException( string s_text, bool s_fatal = false )
|
||||
: text( s_text ), fatal( s_fatal ) {};
|
||||
};
|
||||
|
||||
class Base64Key {
|
||||
|
||||
Reference in New Issue
Block a user