pub enum FrontendCommandError {
Clap(Error),
Host(FrontendError),
Json(Error),
Root(IcpConfigError),
}Expand description
CLI boundary errors retain the host’s exact typed diagnostic.
Variants§
Trait Implementations§
Source§impl Debug for FrontendCommandError
impl Debug for FrontendCommandError
Source§impl Display for FrontendCommandError
impl Display for FrontendCommandError
Source§impl Error for FrontendCommandError
impl Error for FrontendCommandError
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 FrontendCommandError
impl From<Error> for FrontendCommandError
Source§impl From<Error> for FrontendCommandError
impl From<Error> for FrontendCommandError
Source§impl From<FrontendError> for FrontendCommandError
impl From<FrontendError> for FrontendCommandError
Source§fn from(source: FrontendError) -> Self
fn from(source: FrontendError) -> Self
Converts to this type from the input type.
Source§impl From<IcpConfigError> for FrontendCommandError
impl From<IcpConfigError> for FrontendCommandError
Source§fn from(source: IcpConfigError) -> Self
fn from(source: IcpConfigError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for FrontendCommandError
impl !UnwindSafe for FrontendCommandError
impl Freeze for FrontendCommandError
impl Send for FrontendCommandError
impl Sync for FrontendCommandError
impl Unpin for FrontendCommandError
impl UnsafeUnpin for FrontendCommandError
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