Enum bulwark_config::ConfigFileError
source · pub enum ConfigFileError {
IO(Error),
Deserialization(Error),
Validation(ValidationError),
Validations(ValidationErrors),
Resolution(ResolutionError),
MissingParent(String),
CircularInclude(String),
Duplicate(String),
}
Expand description
This error will be returned if an attempt to load Bulwark’s configuration file fails.
Variants§
IO(Error)
Deserialization(Error)
Validation(ValidationError)
Validations(ValidationErrors)
Resolution(ResolutionError)
MissingParent(String)
CircularInclude(String)
Duplicate(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)>
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<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 !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