pub enum ReleaseError {
Workspace(WorkspaceError),
Version(VersionError),
Git(GitError),
Publish(PublishError),
State(StateError),
Cli(CliError),
Io(Error),
Json(Error),
Toml(Error),
TomlEdit(TomlError),
}Expand description
Main error type for all cyrup_release operations
Variants§
Workspace(WorkspaceError)
Workspace analysis errors
Version(VersionError)
Version management errors
Git(GitError)
Git operation errors
Publish(PublishError)
Publishing errors
State(StateError)
State management errors
Cli(CliError)
CLI argument errors
Io(Error)
IO errors
Json(Error)
JSON serialization errors
Toml(Error)
TOML parsing errors
TomlEdit(TomlError)
TOML editing errors
Implementations§
Source§impl ReleaseError
impl ReleaseError
Sourcepub fn recovery_suggestions(&self) -> Vec<String>
pub fn recovery_suggestions(&self) -> Vec<String>
Get actionable recovery suggestions for this error
Sourcepub fn is_recoverable(&self) -> bool
pub fn is_recoverable(&self) -> bool
Check if this error is recoverable
Trait Implementations§
Source§impl Debug for ReleaseError
impl Debug for ReleaseError
Source§impl Display for ReleaseError
impl Display for ReleaseError
Source§impl Error for ReleaseError
impl Error for ReleaseError
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<CliError> for ReleaseError
impl From<CliError> for ReleaseError
Source§impl From<Error> for ReleaseError
impl From<Error> for ReleaseError
Source§impl From<Error> for ReleaseError
impl From<Error> for ReleaseError
Source§impl From<Error> for ReleaseError
impl From<Error> for ReleaseError
Source§impl From<GitError> for ReleaseError
impl From<GitError> for ReleaseError
Source§impl From<PublishError> for ReleaseError
impl From<PublishError> for ReleaseError
Source§fn from(source: PublishError) -> Self
fn from(source: PublishError) -> Self
Converts to this type from the input type.
Source§impl From<StateError> for ReleaseError
impl From<StateError> for ReleaseError
Source§fn from(source: StateError) -> Self
fn from(source: StateError) -> Self
Converts to this type from the input type.
Source§impl From<TomlError> for ReleaseError
impl From<TomlError> for ReleaseError
Source§impl From<VersionError> for ReleaseError
impl From<VersionError> for ReleaseError
Source§fn from(source: VersionError) -> Self
fn from(source: VersionError) -> Self
Converts to this type from the input type.
Source§impl From<WorkspaceError> for ReleaseError
impl From<WorkspaceError> for ReleaseError
Source§fn from(source: WorkspaceError) -> Self
fn from(source: WorkspaceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReleaseError
impl !RefUnwindSafe for ReleaseError
impl Send for ReleaseError
impl Sync for ReleaseError
impl Unpin for ReleaseError
impl !UnwindSafe for ReleaseError
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