pub enum ArchetectError {
AnswerConfigError {
path: String,
source: AnswerConfigError,
},
ArchetypeError(ArchetypeError),
RenderError(RenderError),
SystemError(SystemError),
SourceError(SourceError),
CatalogError(CatalogError),
IoError(Error),
HeadlessMissingAnswer(String),
HeadlessInvalidDefault {
identifier: String,
default: String,
message: String,
},
}Variants§
AnswerConfigError
ArchetypeError(ArchetypeError)
RenderError(RenderError)
SystemError(SystemError)
SourceError(SourceError)
CatalogError(CatalogError)
IoError(Error)
HeadlessMissingAnswer(String)
HeadlessInvalidDefault
Trait Implementations§
Source§impl Debug for ArchetectError
impl Debug for ArchetectError
Source§impl Display for ArchetectError
impl Display for ArchetectError
Source§impl Error for ArchetectError
impl Error for ArchetectError
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<ArchetypeError> for ArchetectError
impl From<ArchetypeError> for ArchetectError
Source§fn from(source: ArchetypeError) -> Self
fn from(source: ArchetypeError) -> Self
Converts to this type from the input type.
Source§impl From<CatalogError> for ArchetectError
impl From<CatalogError> for ArchetectError
Source§fn from(source: CatalogError) -> Self
fn from(source: CatalogError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ArchetectError
impl From<Error> for ArchetectError
Source§impl From<RenderError> for ArchetectError
impl From<RenderError> for ArchetectError
Source§fn from(source: RenderError) -> Self
fn from(source: RenderError) -> Self
Converts to this type from the input type.
Source§impl From<SourceError> for ArchetectError
impl From<SourceError> for ArchetectError
Source§fn from(source: SourceError) -> Self
fn from(source: SourceError) -> Self
Converts to this type from the input type.
Source§impl From<SystemError> for ArchetectError
impl From<SystemError> for ArchetectError
Source§fn from(source: SystemError) -> Self
fn from(source: SystemError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ArchetectError
impl !RefUnwindSafe for ArchetectError
impl Send for ArchetectError
impl Sync for ArchetectError
impl Unpin for ArchetectError
impl !UnwindSafe for ArchetectError
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