pub struct ClassNotFoundError { /* private fields */ }Expand description
Class not found, get the class by name failed, etc.
Implementations§
Source§impl ClassNotFoundError
impl ClassNotFoundError
pub const fn new(class_name: String) -> ClassNotFoundError
Trait Implementations§
Source§impl Debug for ClassNotFoundError
impl Debug for ClassNotFoundError
Source§impl Display for ClassNotFoundError
impl Display for ClassNotFoundError
Source§impl Error for ClassNotFoundError
impl Error for ClassNotFoundError
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<ClassNotFoundError> for Error
impl From<ClassNotFoundError> for Error
Source§fn from(source: ClassNotFoundError) -> Self
fn from(source: ClassNotFoundError) -> Self
Converts to this type from the input type.
Source§impl Throwable for ClassNotFoundError
impl Throwable for ClassNotFoundError
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 ClassNotFoundError
impl RefUnwindSafe for ClassNotFoundError
impl Send for ClassNotFoundError
impl Sync for ClassNotFoundError
impl Unpin for ClassNotFoundError
impl UnwindSafe for ClassNotFoundError
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