pub enum Error {
Show 28 variants
Todo(&'static str),
GeneralError {
msg: String,
},
AnyhowError {
source: Error,
},
EcsError {
source: XvcEcsError,
},
WalkerError {
source: XvcWalkerError,
},
ConfigError {
source: XvcConfigError,
},
FSWalkerError {
error: String,
},
CannotFindXvcRoot {
path: PathBuf,
},
CannotNestXvcRepositories {
path: PathBuf,
},
RegexError {
source: Error,
},
SystemTimeError {
source: SystemTimeError,
},
MsgPackDecodeError {
source: Error,
},
MsgPackEncodeError {
source: Error,
},
JsonError {
source: Error,
},
TomlSerializationError {
source: Error,
},
TomlDeserializationError {
source: Error,
},
YamlError {
source: Error,
},
YamlNullValueForKey {
key: String,
},
IoError {
source: Error,
},
UnicodeError {
cause: OsString,
},
GlobError {
source: GlobError,
},
GlobPatternError {
source: PatternError,
},
StringPrefixError {
source: StripPrefixError,
},
CrossbeamSendError {
t: String,
cause: String,
},
RelativePathError {
source: FromPathError,
},
SledError {
source: SledError,
},
GlobSetError {
source: Error,
},
CannotFindParentPath {
path: PathBuf,
},
}Variants
Todo(&'static str)
GeneralError
Fields
msg: StringAnyhowError
Fields
source: ErrorEcsError
Fields
source: XvcEcsErrorWalkerError
Fields
source: XvcWalkerErrorConfigError
Fields
source: XvcConfigErrorFSWalkerError
Fields
error: StringCannotFindXvcRoot
Fields
path: PathBufCannotNestXvcRepositories
Fields
path: PathBufRegexError
Fields
source: ErrorSystemTimeError
Fields
source: SystemTimeErrorMsgPackDecodeError
Fields
source: ErrorMsgPackEncodeError
Fields
source: ErrorJsonError
Fields
source: ErrorTomlSerializationError
Fields
source: ErrorTomlDeserializationError
Fields
source: ErrorYamlError
Fields
source: ErrorYamlNullValueForKey
Fields
key: StringIoError
Fields
source: ErrorUnicodeError
Fields
cause: OsStringGlobError
Fields
source: GlobErrorGlobPatternError
Fields
source: PatternErrorStringPrefixError
Fields
source: StripPrefixErrorCrossbeamSendError
RelativePathError
Fields
source: FromPathErrorSledError
Fields
source: SledErrorGlobSetError
CannotFindParentPath
Fields
path: PathBufImplementations
Trait Implementations
sourceimpl Error for Error
impl Error for Error
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Error> for Error
impl From<Error> for Error
sourcefn from(source: XvcEcsError) -> Self
fn from(source: XvcEcsError) -> Self
Converts to this type from the input type.
sourceimpl From<Error> for Error
impl From<Error> for Error
sourcefn from(source: XvcWalkerError) -> Self
fn from(source: XvcWalkerError) -> Self
Converts to this type from the input type.
sourceimpl From<Error> for Error
impl From<Error> for Error
sourcefn from(source: XvcConfigError) -> Self
fn from(source: XvcConfigError) -> Self
Converts to this type from the input type.
sourceimpl From<FromPathError> for Error
impl From<FromPathError> for Error
sourcefn from(source: FromPathError) -> Self
fn from(source: FromPathError) -> Self
Converts to this type from the input type.
sourceimpl From<PatternError> for Error
impl From<PatternError> for Error
sourcefn from(source: PatternError) -> Self
fn from(source: PatternError) -> Self
Converts to this type from the input type.
sourceimpl From<StripPrefixError> for Error
impl From<StripPrefixError> for Error
sourcefn from(source: StripPrefixError) -> Self
fn from(source: StripPrefixError) -> Self
Converts to this type from the input type.
sourceimpl From<SystemTimeError> for Error
impl From<SystemTimeError> for Error
sourcefn from(source: SystemTimeError) -> Self
fn from(source: SystemTimeError) -> Self
Converts to this type from the input type.
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more