pub enum MigrationError {
Show 13 variants
AuthenticationFailed(String),
RepositoryNotFound(String),
GitCloneFailed(String),
GitPushFailed(String),
ApiError(String),
RateLimitExceeded(u64),
NetworkError(String),
InvalidConfig(String),
VerificationFailed(String),
UnsupportedFeature(String),
IoError(Error),
JsonError(Error),
HttpError(Error),
}Expand description
Migration-specific errors.
Variants§
AuthenticationFailed(String)
Failed to authenticate with source platform.
RepositoryNotFound(String)
Repository not found on source platform.
GitCloneFailed(String)
Failed to clone repository.
GitPushFailed(String)
Failed to push to Guts.
ApiError(String)
API request failed.
RateLimitExceeded(u64)
Rate limit exceeded.
NetworkError(String)
Network error.
InvalidConfig(String)
Invalid configuration.
VerificationFailed(String)
Verification failed.
UnsupportedFeature(String)
Unsupported feature.
IoError(Error)
Generic I/O error.
JsonError(Error)
JSON parsing error.
HttpError(Error)
HTTP client error.
Trait Implementations§
Source§impl Debug for MigrationError
impl Debug for MigrationError
Source§impl Display for MigrationError
impl Display for MigrationError
Source§impl Error for MigrationError
impl Error for MigrationError
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()
Source§impl From<Error> for MigrationError
impl From<Error> for MigrationError
Source§impl From<Error> for MigrationError
impl From<Error> for MigrationError
Auto Trait Implementations§
impl !RefUnwindSafe for MigrationError
impl !UnwindSafe for MigrationError
impl Freeze for MigrationError
impl Send for MigrationError
impl Sync for MigrationError
impl Unpin for MigrationError
impl UnsafeUnpin for MigrationError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.