exceptions library

Exceptions / Errors

AttachmentException
An exception thrown when the dynamic library is not found
CesrFormatException
An exception thrown when the format of the CESR string is incorrect
CesrVerificationException
An exception thrown when the verification of CESR signature fails
ControllerNotInitializedException
An exception thrown when controller has not been initialized.
IdentifierException
An exception thrown when the controller provided to function has an incorrect identifier
ImproperSignatureThresholdException
An exception thrown when the signature threshold is lower than 0 or bigger than key list length
ImproperWitnessPrefixException
An exception thrown when the witness prefix is in the wrong scheme.
ImproperWitnessThresholdException
An exception thrown when the witness threshold is lower than 0 or bigger than witness list length
IncorrectKeyFormatException
An exception thrown when the key provided is in incorrect format.
IncorrectOobiException
An exception thrown when the oobi is incorrect
IncorrectOptionalConfigsException
An exception thrown when the initial configuration is incorrect
IncorrectSignatureException
An exception thrown when the signature provided is not a hex string.
IncorrectWatcherOobiException
An exception thrown when the watcher oobi is incorrect
IncorrectWitnessOobiException
An exception thrown when witnesses oobis are not correct.
LibraryNotFoundException
An exception thrown when the dynamic library is not found
LibraryNotImplementedException
An exception thrown when the dynamic library for a platform has not been implemented
NetworkErrorException
An exception thrown when the witness is not listening
OobiResolvingErrorException
An exception thrown when the oobi provided is connecting to a port, where nobody is listening.
SelfAddressingIndentifierException
An exception thrown when the SAI is incorrect
SignatureVerificationException
An exception thrown when the event signature does not match the event keys.
UnavailableDirectoryException
An exception thrown when it is not possible to create a database in provided directory
WitnessParsingException
An exception thrown when the witness provided to function cannot be parsed.
WrongCesrSignatureException
An exception thrown when the CESR signature (a product of calling signToCesr) is incorrect
WrongEventException
An exception thrown when the string provided as event is not a correct event