pub struct PropError(pub String);Expand description
A prop value JS sent that does not fit the prop’s type.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Error for PropError
impl Error for PropError
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()
impl StructuralPartialEq for PropError
Auto Trait Implementations§
impl Forget for PropError
impl Freeze for PropError
impl Move for PropError
impl RefUnwindSafe for PropError
impl Send for PropErrorwhere
RawVecInner: Send,
impl Sync for PropErrorwhere
RawVecInner: Sync,
impl Unpin for PropError
impl UnsafeUnpin for PropError
impl UnwindSafe for PropErrorwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<E> IntoThrown for Ewhere
E: Display,
impl<E> IntoThrown for Ewhere
E: Display,
Source§fn into_thrown(self) -> Thrown
fn into_thrown(self) -> Thrown
The exception.