pub enum GeneratorError {
GenericError(Error),
GenericDetailError(Error, String),
JsonError(Error),
YamlError(Error),
TemplateError(TemplateFileError),
TemplateRenderError(TemplateRenderError),
IoError(Error),
Error(String),
JsonPath(String),
}
Variants§
GenericError(Error)
GenericDetailError(Error, String)
JsonError(Error)
YamlError(Error)
TemplateError(TemplateFileError)
TemplateRenderError(TemplateRenderError)
IoError(Error)
Error(String)
JsonPath(String)
Trait Implementations§
Source§impl Debug for GeneratorError
impl Debug for GeneratorError
Source§impl Display for GeneratorError
impl Display for GeneratorError
Source§impl Fail for GeneratorError
impl Fail for GeneratorError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreSource§impl From<Error> for GeneratorError
impl From<Error> for GeneratorError
Source§fn from(err: Error) -> GeneratorError
fn from(err: Error) -> GeneratorError
Converts to this type from the input type.
Source§impl From<Error> for GeneratorError
impl From<Error> for GeneratorError
Source§fn from(err: Error) -> GeneratorError
fn from(err: Error) -> GeneratorError
Converts to this type from the input type.
Source§impl From<Error> for GeneratorError
impl From<Error> for GeneratorError
Source§fn from(err: Error) -> GeneratorError
fn from(err: Error) -> GeneratorError
Converts to this type from the input type.
Source§impl From<Error> for GeneratorError
impl From<Error> for GeneratorError
Source§fn from(err: Error) -> GeneratorError
fn from(err: Error) -> GeneratorError
Converts to this type from the input type.
Source§impl From<GeneratorError> for RenderError
impl From<GeneratorError> for RenderError
Source§fn from(err: GeneratorError) -> Self
fn from(err: GeneratorError) -> Self
Converts to this type from the input type.
Source§impl From<JsonPathError> for GeneratorError
impl From<JsonPathError> for GeneratorError
Source§fn from(err: JsonPathError) -> GeneratorError
fn from(err: JsonPathError) -> GeneratorError
Converts to this type from the input type.
Source§impl From<ParseError> for GeneratorError
impl From<ParseError> for GeneratorError
Source§fn from(err: ParseError) -> Self
fn from(err: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<RenderError> for GeneratorError
impl From<RenderError> for GeneratorError
Source§fn from(err: RenderError) -> Self
fn from(err: RenderError) -> Self
Converts to this type from the input type.
Source§impl From<TemplateFileError> for GeneratorError
impl From<TemplateFileError> for GeneratorError
Source§fn from(err: TemplateFileError) -> GeneratorError
fn from(err: TemplateFileError) -> GeneratorError
Converts to this type from the input type.
Source§impl From<TemplateRenderError> for GeneratorError
impl From<TemplateRenderError> for GeneratorError
Source§fn from(err: TemplateRenderError) -> Self
fn from(err: TemplateRenderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GeneratorError
impl !RefUnwindSafe for GeneratorError
impl Send for GeneratorError
impl Sync for GeneratorError
impl Unpin for GeneratorError
impl !UnwindSafe for GeneratorError
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