pub trait ErrorExt {
// Required methods
fn is_secret_not_found(&self) -> bool;
fn is_permission_denied(&self) -> bool;
fn is_forbidden(&self) -> bool;
}Expand description
Extension functions for error types.
Required Methods§
Sourcefn is_secret_not_found(&self) -> bool
fn is_secret_not_found(&self) -> bool
Whether this is a secret not found error.
Sourcefn is_permission_denied(&self) -> bool
fn is_permission_denied(&self) -> bool
Whether this is a permission denied error.
Sourcefn is_forbidden(&self) -> bool
fn is_forbidden(&self) -> bool
Whether authentication is required.