DiceKeys Seeded Cryptography Library
|
23 std::invalid_argument(m ? m :
"Cryptographic verification failure") {};
38 std::invalid_argument(m ? m :
"Invalid key length") {};
53 std::invalid_argument(m ? m :
"Exception in parsing JSON") {};
69 std::invalid_argument(m ? m :
"Invalid JSON key recipe") {};
85 std::invalid_argument(m ? m :
"Invalid key recipe") {};
Thrown when a recipe string is not in valid JSON format and cannot be parsed.
Definition: exceptions.hpp:60
InvalidRecipeValueException(const char *m=NULL)
Construct by throwing, passing an optional exception message.
Definition: exceptions.hpp:84
Thrown when a key is specified to be an invalid or incorrect length.
Definition: exceptions.hpp:29
JsonParsingException(const char *m=NULL)
Construct by throwing, passing an optional exception message.
Definition: exceptions.hpp:52
KeyLengthException(const char *m=NULL)
Construct by throwing, passing an optional exception message.
Definition: exceptions.hpp:37
Thrown when a JSON-string is not valid.
Definition: exceptions.hpp:44
CryptographicVerificationFailureException(const char *m=NULL)
Construct by throwing, passing an optional exception message.
Definition: exceptions.hpp:22
InvalidRecipeJsonException(const char *m=NULL)
Construct by throwing, passing an optional exception message.
Definition: exceptions.hpp:68
Thrown when a cryptographic operation fails due to keys or data being corrupted, modified,...
Definition: exceptions.hpp:14
Thrown when a JSON value in the recipe is in an invalid format or contains an invalid value.
Definition: exceptions.hpp:76