pub enum RadiateError {
InvalidConfig(ErrString),
InvalidParameter(ErrString),
EngineError(ErrString),
Multiple(Vec<RadiateError>),
}
Variants§
InvalidConfig(ErrString)
InvalidParameter(ErrString)
EngineError(ErrString)
Multiple(Vec<RadiateError>)
Implementations§
Source§impl RadiateError
impl RadiateError
pub fn with_context(self, message: impl Into<String>) -> ErrorContext
Trait Implementations§
Source§impl Clone for RadiateError
impl Clone for RadiateError
Source§fn clone(&self) -> RadiateError
fn clone(&self) -> RadiateError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RadiateError
impl Debug for RadiateError
Source§impl Display for RadiateError
impl Display for RadiateError
Source§impl Error for RadiateError
impl Error for RadiateError
1.30.0 · 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<ErrorContext> for RadiateError
impl From<ErrorContext> for RadiateError
Source§fn from(ctx: ErrorContext) -> Self
fn from(ctx: ErrorContext) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RadiateError
impl PartialEq for RadiateError
impl Eq for RadiateError
impl StructuralPartialEq for RadiateError
Auto Trait Implementations§
impl Freeze for RadiateError
impl RefUnwindSafe for RadiateError
impl Send for RadiateError
impl Sync for RadiateError
impl Unpin for RadiateError
impl UnwindSafe for RadiateError
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