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
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<CancelledError> for Error
impl From<CancelledError> for Error
sourcefn from(source: CancelledError) -> Self
fn from(source: CancelledError) -> Self
Converts to this type from the input type.
sourceimpl From<DigestError> for Error
impl From<DigestError> for Error
sourcefn from(source: DigestError) -> Self
fn from(source: DigestError) -> Self
Converts to this type from the input type.
sourceimpl From<PackageDirNotFound> for Error
impl From<PackageDirNotFound> for Error
sourcefn from(source: PackageDirNotFound) -> Self
fn from(source: PackageDirNotFound) -> 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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