pub enum Error {
Show 36 variants
PathAlreadyExists(Box<Path>),
GitRepositoryIsNotInACleanState,
UnsupportedVersion(i64),
PubKeyMismatch,
UserConfigNotInitialized,
UserConfigAlreadyExists,
UserConfigLoadError(Box<(PathBuf, Error)>),
NoHomeDirectory,
IdLoadError(Box<(PathBuf, Error)>),
IDFileNotFound,
CouldNotCloneGitHttpsURL(Box<(String, String)>),
NoIdsGiven,
IncorrectPassphrase,
CurrentIDNotSet,
IDNotSpecifiedAndCurrentIDNotSet,
OriginHasNoURL,
GitUrlNotConfigured,
ErrorIteratingLocalProofStore(Box<(PathBuf, String)>),
FileNotCurrent(Box<Path>),
PackageConfigNotInitialized,
PathNotInStageRootPath,
GitEntryWithoutAPath,
YAML(Error),
CBOR(Error),
PackageDirNotFound(PackageDirNotFound),
Cancelled(CancelledError),
Data(Error),
Passphrase(Error),
ReviewActivity(Box<YAMLIOError>),
UserConfigParse(Error),
Digest(DigestError),
Git(Error),
IO(Error),
CrateSourceSanitizationError(Error),
FileWrite(Error, PathBuf),
Id(IdError),
}
Variants§
PathAlreadyExists(Box<Path>)
GitRepositoryIsNotInACleanState
UnsupportedVersion(i64)
PubKeyMismatch
UserConfigNotInitialized
UserConfigAlreadyExists
UserConfigLoadError(Box<(PathBuf, Error)>)
NoHomeDirectory
IdLoadError(Box<(PathBuf, Error)>)
IDFileNotFound
CouldNotCloneGitHttpsURL(Box<(String, String)>)
NoIdsGiven
IncorrectPassphrase
CurrentIDNotSet
IDNotSpecifiedAndCurrentIDNotSet
OriginHasNoURL
GitUrlNotConfigured
ErrorIteratingLocalProofStore(Box<(PathBuf, String)>)
FileNotCurrent(Box<Path>)
PackageConfigNotInitialized
PathNotInStageRootPath
GitEntryWithoutAPath
YAML(Error)
CBOR(Error)
PackageDirNotFound(PackageDirNotFound)
Cancelled(CancelledError)
Data(Error)
Passphrase(Error)
ReviewActivity(Box<YAMLIOError>)
UserConfigParse(Error)
Digest(DigestError)
Git(Error)
IO(Error)
CrateSourceSanitizationError(Error)
FileWrite(Error, PathBuf)
Id(IdError)
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<CancelledError> for Error
impl From<CancelledError> for Error
source§fn from(source: CancelledError) -> Self
fn from(source: CancelledError) -> Self
Converts to this type from the input type.
source§impl From<DigestError> for Error
impl From<DigestError> for Error
source§fn from(source: DigestError) -> Self
fn from(source: DigestError) -> Self
Converts to this type from the input type.
source§impl From<PackageDirNotFound> for Error
impl From<PackageDirNotFound> for Error
source§fn from(source: PackageDirNotFound) -> Self
fn from(source: PackageDirNotFound) -> Self
Converts to this type from the input type.