Struct minidump::MinidumpException [−][src]
pub struct MinidumpException<'a> {
pub raw: MINIDUMP_EXCEPTION_STREAM,
pub thread_id: u32,
// some fields omitted
}
Expand description
Information about the exception that caused the minidump to be generated.
MinidumpException
wraps MINIDUMP_EXCEPTION_STREAM
, which contains information
about the exception that caused the minidump to be generated, if the
minidump was generated in an exception handler called as a result of an
exception. It also provides access to a MinidumpContext
object, which
contains the CPU context for the exception thread at the time the exception
occurred.
Fields
raw: MINIDUMP_EXCEPTION_STREAM
The raw exception information from the minidump stream.
thread_id: u32
The thread that encountered this exception.
Implementations
pub fn context(
&self,
system_info: &MinidumpSystemInfo,
misc: Option<&MinidumpMiscInfo>
) -> Option<Cow<'_, MinidumpContext>>
Get the crash address for an exception.
Get the crash reason for an exception.
pub fn print<T: Write>(
&self,
f: &mut T,
system: Option<&MinidumpSystemInfo>,
misc: Option<&MinidumpMiscInfo>
) -> Result<()>
pub fn print<T: Write>(
&self,
f: &mut T,
system: Option<&MinidumpSystemInfo>,
misc: Option<&MinidumpMiscInfo>
) -> Result<()>
Write a human-readable description of this MinidumpException
to f
.
This is very verbose, it is the format used by minidump_dump
.