pub struct MetaCallException { /* private fields */ }Expand description
Represents MetaCall exception. You can create an exception with new.
Implementations§
Source§impl MetaCallException
impl MetaCallException
Sourcepub fn new(
message: impl ToString,
label: impl ToString,
stacktrace: impl ToString,
code: i64,
) -> Result<Self, MetaCallStringConversionError>
pub fn new( message: impl ToString, label: impl ToString, stacktrace: impl ToString, code: i64, ) -> Result<Self, MetaCallStringConversionError>
Creates a new exception.
Sourcepub fn get_message(&self) -> String
pub fn get_message(&self) -> String
Gets the exception message.
Sourcepub fn get_stacktrace(&self) -> String
pub fn get_stacktrace(&self) -> String
Gets the exception stacktrace.
Trait Implementations§
Source§impl Clone for MetaCallException
impl Clone for MetaCallException
Source§impl Debug for MetaCallException
impl Debug for MetaCallException
Source§impl Display for MetaCallException
impl Display for MetaCallException
Source§impl Drop for MetaCallException
impl Drop for MetaCallException
impl MetaCallValue for MetaCallException
Equivalent to MetaCall exception type.
impl Send for MetaCallException
impl Sync for MetaCallException
Auto Trait Implementations§
impl Freeze for MetaCallException
impl RefUnwindSafe for MetaCallException
impl Unpin for MetaCallException
impl UnwindSafe for MetaCallException
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