pub enum SpecmanError {
Template(String),
UnknownWorkType(String),
Dependency(String),
MissingTarget(PathBuf),
Lifecycle(LifecycleError),
Workspace(String),
Serialization(String),
Io(Error),
}Expand description
High-level error type shared across SpecMan components.
Variants§
Template(String)
UnknownWorkType(String)
Dependency(String)
MissingTarget(PathBuf)
Lifecycle(LifecycleError)
Workspace(String)
Serialization(String)
Io(Error)
Implementations§
Trait Implementations§
Source§impl Debug for SpecmanError
impl Debug for SpecmanError
Source§impl Display for SpecmanError
impl Display for SpecmanError
Source§impl Error for SpecmanError
impl Error for SpecmanError
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 SpecmanError
impl From<Error> for SpecmanError
Source§impl From<Error> for SpecmanError
impl From<Error> for SpecmanError
Source§impl From<LifecycleError> for SpecmanError
impl From<LifecycleError> for SpecmanError
Source§fn from(source: LifecycleError) -> Self
fn from(source: LifecycleError) -> Self
Converts to this type from the input type.
Source§impl From<WorkspaceError> for SpecmanError
impl From<WorkspaceError> for SpecmanError
Source§fn from(err: WorkspaceError) -> Self
fn from(err: WorkspaceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SpecmanError
impl !RefUnwindSafe for SpecmanError
impl Send for SpecmanError
impl Sync for SpecmanError
impl Unpin for SpecmanError
impl !UnwindSafe for SpecmanError
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