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
Identity
An error caused by a specific identity.
Internal
Fields
message: StringThe error message.
A general error that occured inside the state machine.
Stanza
Fields
file_index: usizeThe index of the file containing the stanza.
stanza_index: usizeThe index of the stanza within the file.
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).
