pub enum ConfigFileError {
Show 16 variants
IO(Error),
ConfigNotFound(String),
IncludedConfigNotFound(String),
PluginNotFound(String),
Deserialization(Error),
Validation(ValidationError),
Validations(ValidationErrors),
Resolution(ResolutionError),
InvalidRemoteUri(ParseError),
InsecureRemoteUri(String),
MissingParent(String),
CircularInclude(String),
Duplicate(String),
InvalidSecretConfig(String),
InvalidPluginConfig(String),
InvalidResourceConfig(String),
}Expand description
This error will be returned if an attempt to load Bulwark’s configuration file fails.
Variants§
IO(Error)
ConfigNotFound(String)
IncludedConfigNotFound(String)
PluginNotFound(String)
Deserialization(Error)
Validation(ValidationError)
Validations(ValidationErrors)
Resolution(ResolutionError)
InvalidRemoteUri(ParseError)
InsecureRemoteUri(String)
MissingParent(String)
CircularInclude(String)
Duplicate(String)
InvalidSecretConfig(String)
InvalidPluginConfig(String)
InvalidResourceConfig(String)
Trait Implementations§
Source§impl Debug for ConfigFileError
impl Debug for ConfigFileError
Source§impl Display for ConfigFileError
impl Display for ConfigFileError
Source§impl Error for ConfigFileError
impl Error for ConfigFileError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for ConfigFileError
impl From<Error> for ConfigFileError
Source§impl From<Error> for ConfigFileError
impl From<Error> for ConfigFileError
Source§impl From<ParseError> for ConfigFileError
impl From<ParseError> for ConfigFileError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<ResolutionError> for ConfigFileError
impl From<ResolutionError> for ConfigFileError
Source§fn from(source: ResolutionError) -> Self
fn from(source: ResolutionError) -> Self
Converts to this type from the input type.
Source§impl From<ValidationError> for ConfigFileError
impl From<ValidationError> for ConfigFileError
Source§fn from(source: ValidationError) -> Self
fn from(source: ValidationError) -> Self
Converts to this type from the input type.
Source§impl From<ValidationErrors> for ConfigFileError
impl From<ValidationErrors> for ConfigFileError
Source§fn from(source: ValidationErrors) -> Self
fn from(source: ValidationErrors) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConfigFileError
impl !RefUnwindSafe for ConfigFileError
impl Send for ConfigFileError
impl Sync for ConfigFileError
impl Unpin for ConfigFileError
impl !UnwindSafe for ConfigFileError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more