error
Module: matcher::error
Section titled “Module: matcher::error”Contents
Section titled “Contents”Enums
MatcherError- Errors from compiling or executing a secret matcher.
firma_secret_provider::matcher::error::MatcherError
Section titled “firma_secret_provider::matcher::error::MatcherError”Enum
Errors from compiling or executing a secret matcher.
Variants:
JsonPath{ path: String, reason: serde_json_path::ParseError }- AJSONPathexpression failed to parse.Regex(regex::Error)- The regex failed to compile.MissingGroup{ missing: &'static str, found: String }- The regex is missing a required named capture group.EmptyGroup(&'static str)- The regex matches an empty capture group.Json(serde_json::Error)- The vault output was not valid JSON (json matcher).NotUtf8- The vault output was not valid UTF-8 (regex matcher).NoRecords- The record selector did not identify any logical records.RecordSelectorMatchCount{ selector: &'static str, record_index: usize, matches: usize }- A record-relative selector did not select exactly one node.DocumentSelectorMatchCount{ selector: &'static str, matches: usize }- A document-scoped item selector selected more than one node.NonStringNode{ selector: &'static str, record_index: usize }- A selected value, name, or domain node was not a JSON string.EmptyNode{ selector: &'static str, record_index: usize }- A selected value or name node was a whitespace string.RecordKeyUnavailable{ record_index: usize }- ARecordKey-sourced name had no parent key to derive from (theSerialize(serde_json::Error)- Re-serializing the rewritten JSON failed defensively; ordinaryInvalidUri{ uri: String, error: http::uri::InvalidUri }- Found Uri is not valid.NoHostInUri(String)- Found Uri has no host.NoMatches- A regex matcher found no captures in the provider output. This mayNoDomainMatched- A configured domain selector produced no domains, or a regex with a
Trait Implementations:
- Error
fn source(self: &Self) -> ::core::option::Option<&dyn ::thiserror::__private18::Error>
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- Display
fn fmt(self: &Self, __formatter: & mut ::core::fmt::Formatter) -> ::core::fmt::Result