Struct actix_tools::sentry::sentry_client::protocol::Exception[]

pub struct Exception {
    pub ty: String,
    pub value: Option<String>,
    pub module: Option<String>,
    pub stacktrace: Option<Stacktrace>,
    pub raw_stacktrace: Option<Stacktrace>,
    pub thread_id: Option<ThreadId>,
    pub mechanism: Option<Mechanism>,
}

Represents a single exception.

Fields

The type of the exception.

The optional value of the exception.

An optional module for this exception.

Optionally the stacktrace.

An optional raw stacktrace.

Optional identifier referring to a thread.

The mechanism of the exception including OS specific exception values.

Trait Implementations

impl Serialize for Exception

Serialize this value into the given Serde serializer. Read more

impl Clone for Exception

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Exception

Returns the "default value" for a type. Read more

impl Debug for Exception

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for Exception

Deserialize this value from the given Serde deserializer. Read more

impl PartialEq<Exception> for Exception

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Exception

impl Sync for Exception