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
AnyhowError
EcsError
Fields
§
source: XvcEcsErrorWalkerError
Fields
§
source: XvcWalkerErrorConfigError
Fields
§
source: XvcConfigErrorFSWalkerError
CannotFindXvcRoot
CannotNestXvcRepositories
RegexError
SystemTimeError
Fields
§
source: SystemTimeErrorMsgPackDecodeError
MsgPackEncodeError
JsonError
TomlSerializationError
TomlDeserializationError
YamlError
YamlNullValueForKey
IoError
UnicodeError
GlobError
GlobPatternError
Fields
§
source: PatternErrorStringPrefixError
Fields
§
source: StripPrefixErrorCrossbeamSendError
RelativePathError
Fields
§
source: FromPathErrorSledError
GlobSetError
Fields
§
source: ErrorCannotFindParentPath
Implementations§
Trait Implementations§
source§impl Error for Error
impl Error for Error
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 Error
impl From<Error> for Error
source§fn from(source: XvcEcsError) -> Self
fn from(source: XvcEcsError) -> Self
Converts to this type from the input type.
source§impl From<Error> for Error
impl From<Error> for Error
source§fn from(source: XvcWalkerError) -> Self
fn from(source: XvcWalkerError) -> Self
Converts to this type from the input type.
source§impl From<Error> for Error
impl From<Error> for Error
source§fn from(source: XvcConfigError) -> Self
fn from(source: XvcConfigError) -> Self
Converts to this type from the input type.
source§impl From<FromPathError> for Error
impl From<FromPathError> for Error
source§fn from(source: FromPathError) -> Self
fn from(source: FromPathError) -> Self
Converts to this type from the input type.
source§impl From<PatternError> for Error
impl From<PatternError> for Error
source§fn from(source: PatternError) -> Self
fn from(source: PatternError) -> Self
Converts to this type from the input type.
source§impl From<StripPrefixError> for Error
impl From<StripPrefixError> for Error
source§fn from(source: StripPrefixError) -> Self
fn from(source: StripPrefixError) -> Self
Converts to this type from the input type.
source§impl From<SystemTimeError> for Error
impl From<SystemTimeError> for Error
source§fn from(source: SystemTimeError) -> Self
fn from(source: SystemTimeError) -> Self
Converts to this type from the input type.