Enum snow::NoiseError
[−]
[src]
pub enum NoiseError { InitError(&'static str), PrereqError(String), InputError(&'static str), StateError(&'static str), DecryptError, }
All error types produced by a Noise operation.
Variants
InitError(&'static str)
An issue in initialization that is independent of a missing prerequisite parameter
PrereqError(String)
A missing or otherwise malformed prerequisite during initialization
InputError(&'static str)
Bad input during an operation. Typically a message that causes max message size to be exceeded.
StateError(&'static str)
Unsupported operation for the current state in the state machine.
DecryptError
Decryption error, usually due to incorrect key material.