Skip to main content

secret_error_kind

Function secret_error_kind 

Source
pub fn secret_error_kind(err: &SecretError) -> &'static str
Expand description

The failure class of a secret error, as the bindings report it.

One of config, reference, not_found, malformed, backend, or other for a class this build does not know. The strings are part of the binding wire contract: Go and Python hosts read the same values.