Enum weldscli_lib::errors::WeldsError
source · pub enum WeldsError {
MissingSchemaFile(PathBuf),
ReadError(PathBuf),
InvalidProject,
IoError(Error),
ConfigReadError(PathBuf),
ConfigWrite,
Core(WeldsError),
}Variants§
MissingSchemaFile(PathBuf)
ReadError(PathBuf)
InvalidProject
IoError(Error)
ConfigReadError(PathBuf)
ConfigWrite
Core(WeldsError)
Trait Implementations§
source§impl Debug for WeldsError
impl Debug for WeldsError
source§impl Display for WeldsError
impl Display for WeldsError
source§impl Error for WeldsError
impl Error for WeldsError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 WeldsError
impl From<Error> for WeldsError
source§fn from(inner: Error) -> WeldsError
fn from(inner: Error) -> WeldsError
Converts to this type from the input type.
source§impl From<WeldsError> for WeldsError
impl From<WeldsError> for WeldsError
source§fn from(inner: WeldsCoreError) -> WeldsError
fn from(inner: WeldsCoreError) -> WeldsError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for WeldsError
impl Send for WeldsError
impl Sync for WeldsError
impl Unpin for WeldsError
impl !UnwindSafe for WeldsError
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