pub struct ArgumentCountError { /* private fields */ }Expand description
Throw when actual arguments count is not greater than expect in calling functions.
Implementations§
Trait Implementations§
Source§impl Debug for ArgumentCountError
impl Debug for ArgumentCountError
Source§impl Display for ArgumentCountError
impl Display for ArgumentCountError
Source§impl Error for ArgumentCountError
impl Error for ArgumentCountError
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<ArgumentCountError> for Error
impl From<ArgumentCountError> for Error
Source§fn from(source: ArgumentCountError) -> Self
fn from(source: ArgumentCountError) -> Self
Converts to this type from the input type.
Source§impl Throwable for ArgumentCountError
impl Throwable for ArgumentCountError
Source§fn get_class(&self) -> &ClassEntry
fn get_class(&self) -> &ClassEntry
Gets the class reference, implemented PHP
Throwable.Source§fn get_message(&self) -> Option<String>
fn get_message(&self) -> Option<String>
Gets the message.
Auto Trait Implementations§
impl Freeze for ArgumentCountError
impl RefUnwindSafe for ArgumentCountError
impl Send for ArgumentCountError
impl Sync for ArgumentCountError
impl Unpin for ArgumentCountError
impl UnwindSafe for ArgumentCountError
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