pub struct ComposerError {
pub inner: ComposerErrorInner,
pub source: ErrSource,
}
Fields§
§inner: ComposerErrorInner
§source: ErrSource
Implementations§
Source§impl ComposerError
impl ComposerError
Sourcepub fn emit_to_string(&self, composer: &Composer) -> String
pub fn emit_to_string(&self, composer: &Composer) -> String
format a Composer error
Trait Implementations§
Source§impl Debug for ComposerError
impl Debug for ComposerError
Source§impl Display for ComposerError
impl Display for ComposerError
Source§impl Error for ComposerError
impl Error for ComposerError
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<ComposerError> for EnsureImportsError
impl From<ComposerError> for EnsureImportsError
Source§fn from(value: ComposerError) -> Self
fn from(value: ComposerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ComposerError
impl RefUnwindSafe for ComposerError
impl Send for ComposerError
impl Sync for ComposerError
impl Unpin for ComposerError
impl UnwindSafe for ComposerError
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