Enum libtmplgen::errors::Error
source · pub enum Error {
Show 15 variants
File(String),
Crate(String),
Gem(String),
PerlDist(String),
UTF8(String),
TmplWriter(String),
TmplUpdater(String),
BuiltIn(String),
GitError(String),
XdistError(String),
AmbPkg(String),
NoSuchPkg(String),
ShaError(String),
TooLittleInfo(String),
RecDeps {
pkg_name: String,
err: String,
},
}
Expand description
The Error enum containing all Errors that may occur when running tmplgen
Variants§
File(String)
Crate(String)
Gem(String)
PerlDist(String)
UTF8(String)
TmplWriter(String)
TmplUpdater(String)
BuiltIn(String)
GitError(String)
XdistError(String)
AmbPkg(String)
NoSuchPkg(String)
ShaError(String)
TooLittleInfo(String)
RecDeps
Trait Implementations§
source§impl Fail for Error
impl Fail for Error
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 Ord for Error
impl Ord for Error
source§impl PartialOrd<Error> for Error
impl PartialOrd<Error> for Error
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Error
impl StructuralEq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.