pub struct ReportableException {
pub message: Option<String>,
pub actionable_message: Option<String>,
pub file_path: Option<String>,
pub line_number: Option<String>,
pub h_result: Option<i64>,
pub stack_trace: Option<String>,
}
Expand description
Exception object for all custom exceptions
Fields§
§message: Option<String>
Error message
actionable_message: Option<String>
Actionable steps for this exception
file_path: Option<String>
The path to the file where exception occurred
line_number: Option<String>
The line number where exception occurred
h_result: Option<i64>
Coded numerical value that is assigned to a specific exception
stack_trace: Option<String>
Stack trace
Implementations§
Trait Implementations§
Source§impl Clone for ReportableException
impl Clone for ReportableException
Source§fn clone(&self) -> ReportableException
fn clone(&self) -> ReportableException
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ReportableException
impl Debug for ReportableException
Source§impl Default for ReportableException
impl Default for ReportableException
Source§fn default() -> ReportableException
fn default() -> ReportableException
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReportableException
impl<'de> Deserialize<'de> for ReportableException
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ReportableException
impl PartialEq for ReportableException
Source§impl Serialize for ReportableException
impl Serialize for ReportableException
impl StructuralPartialEq for ReportableException
Auto Trait Implementations§
impl Freeze for ReportableException
impl RefUnwindSafe for ReportableException
impl Send for ReportableException
impl Sync for ReportableException
impl Unpin for ReportableException
impl UnwindSafe for ReportableException
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