pub enum GRError {
Show 20 variants
PreconditionNotMet(String),
GitRemoteUrlNotFound(String),
DomainExpected(String),
RepoExpected(String),
TimeConversionError(String),
ConfigurationError(String),
OperationNotSupported(String),
RateLimitExceeded(RateLimitHeader),
ExponentialBackoffMaxRetriesReached(String),
ApplicationError(String),
RemoteUnexpectedResponseContract(String),
RemoteServerError(String),
HttpTransportError(String),
MermaidParsingError(String),
ConfigurationNotFound,
CacheLocationDoesNotExist(String),
CacheLocationIsNotADirectory(String),
CacheLocationIsNotWriteable(String),
CacheLocationWriteTestFailed(String),
UserNotFound(String),
}
Variants§
PreconditionNotMet(String)
GitRemoteUrlNotFound(String)
DomainExpected(String)
RepoExpected(String)
TimeConversionError(String)
ConfigurationError(String)
OperationNotSupported(String)
RateLimitExceeded(RateLimitHeader)
ExponentialBackoffMaxRetriesReached(String)
ApplicationError(String)
RemoteUnexpectedResponseContract(String)
RemoteServerError(String)
HttpTransportError(String)
MermaidParsingError(String)
ConfigurationNotFound
CacheLocationDoesNotExist(String)
CacheLocationIsNotADirectory(String)
CacheLocationIsNotWriteable(String)
CacheLocationWriteTestFailed(String)
UserNotFound(String)
Trait Implementations§
Source§impl Error for GRError
impl Error for GRError
1.30.0 · 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 GRError
impl RefUnwindSafe for GRError
impl Send for GRError
impl Sync for GRError
impl Unpin for GRError
impl UnwindSafe for GRError
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