pub struct InvalidArgumentError {
pub argument: String,
pub message: String,
pub cause: Option<BoxError>,
}Expand description
A call argument is invalid.
Fields§
§argument: StringName of the argument.
message: StringWhat is wrong with it.
cause: Option<BoxError>Underlying cause.
Implementations§
Trait Implementations§
Source§impl Debug for InvalidArgumentError
impl Debug for InvalidArgumentError
Source§impl Display for InvalidArgumentError
impl Display for InvalidArgumentError
Source§impl Error for InvalidArgumentError
impl Error for InvalidArgumentError
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<InvalidArgumentError> for ProviderError
impl From<InvalidArgumentError> for ProviderError
Source§fn from(source: InvalidArgumentError) -> Self
fn from(source: InvalidArgumentError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for InvalidArgumentError
impl !UnwindSafe for InvalidArgumentError
impl Freeze for InvalidArgumentError
impl Send for InvalidArgumentError
impl Sync for InvalidArgumentError
impl Unpin for InvalidArgumentError
impl UnsafeUnpin for InvalidArgumentError
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