pub enum SpsError {
Show 27 variants
Io(Arc<Error>),
Http(Arc<Error>),
Json(Arc<Error>),
SemVer(Arc<Error>),
Object(Arc<Error>),
Config(String),
Api(String),
ApiRequestError(String),
DownloadError(String, String, String),
Cache(String),
NotFound(String),
InstallError(String),
Generic(String),
HttpError(String),
ChecksumMismatch(String),
ValidationError(String),
ChecksumError(String),
ParseError(&'static str, String),
VersionError(String),
DependencyError(String),
BuildEnvError(String),
IoError(String),
CommandExecError(String),
MachOError(String),
MachOModificationError(String),
PathTooLongError(String),
CodesignError(String),
}
Variants§
Io(Arc<Error>)
Http(Arc<Error>)
Json(Arc<Error>)
SemVer(Arc<Error>)
Object(Arc<Error>)
Config(String)
Api(String)
ApiRequestError(String)
DownloadError(String, String, String)
Cache(String)
NotFound(String)
InstallError(String)
Generic(String)
HttpError(String)
ChecksumMismatch(String)
ValidationError(String)
ChecksumError(String)
ParseError(&'static str, String)
VersionError(String)
DependencyError(String)
BuildEnvError(String)
IoError(String)
CommandExecError(String)
MachOError(String)
MachOModificationError(String)
PathTooLongError(String)
CodesignError(String)
Trait Implementations§
Source§impl Error for SpsError
impl Error for SpsError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for SpsError
impl !RefUnwindSafe for SpsError
impl Send for SpsError
impl Sync for SpsError
impl Unpin for SpsError
impl !UnwindSafe for SpsError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more