pub enum CascadeError {
}Expand description
Cascade Error Types
Variants§
Git(Error)
Git-related errors
Config(String)
Configuration errors
Branch(String)
Branch management errors
Network(String)
Network errors
Auth(String)
Authentication errors
Io(Error)
I/O errors
Json(Error)
JSON serialization errors
Http(Error)
HTTP client errors
Url(ParseError)
URL parsing errors
Conflict(String)
Conflict resolution errors
Corruption(String)
Repository corruption errors
Rebase(String)
Rebase operation errors
MissingDependency(String)
Missing dependency errors
RateLimit(String)
API rate limit errors
Validation(String)
Validation errors
Implementations§
Source§impl CascadeError
 
impl CascadeError
pub fn config<S: Into<String>>(msg: S) -> Self
pub fn branch<S: Into<String>>(msg: S) -> Self
pub fn auth<S: Into<String>>(msg: S) -> Self
pub fn validation<S: Into<String>>(msg: S) -> Self
pub fn parse<S: Into<String>>(msg: S) -> Self
pub fn not_initialized<S: Into<String>>(msg: S) -> Self
pub fn invalid_operation<S: Into<String>>(msg: S) -> Self
pub fn conflict_resolution<S: Into<String>>(file: S, reason: S) -> Self
pub fn bitbucket_api(status: u16, message: String) -> Self
pub fn bitbucket<S: Into<String>>(msg: S) -> Self
Trait Implementations§
Source§impl Debug for CascadeError
 
impl Debug for CascadeError
Source§impl Display for CascadeError
 
impl Display for CascadeError
Source§impl Error for CascadeError
 
impl Error for CascadeError
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 CascadeError
 
impl From<Error> for CascadeError
Source§impl From<Error> for CascadeError
 
impl From<Error> for CascadeError
Source§impl From<Error> for CascadeError
 
impl From<Error> for CascadeError
Source§impl From<Error> for CascadeError
 
impl From<Error> for CascadeError
Source§impl From<ParseError> for CascadeError
 
impl From<ParseError> for CascadeError
Source§fn from(source: ParseError) -> Self
 
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CascadeError
impl !RefUnwindSafe for CascadeError
impl Send for CascadeError
impl Sync for CascadeError
impl Unpin for CascadeError
impl !UnwindSafe for CascadeError
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> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more