Enum age_plugin::identity::Error [−][src]
pub enum Error {
Identity {
index: usize,
message: String,
},
Internal {
message: String,
},
Stanza {
file_index: usize,
stanza_index: usize,
message: String,
},
}Expand description
The kinds of errors that can occur within the identity plugin state machine.
Variants
An error caused by a specific identity.
A general error that occured inside the state machine.
Fields of Internal
message: StringThe error message.
An error caused by a specific stanza.
Note that unknown stanzas MUST be ignored by plugins; this error is only for stanzas that have a supported tag but are otherwise invalid (indicating an invalid age file).