Skip to main content

ErrParts

Struct ErrParts 

Source
#[doc(hidden)]
pub struct ErrParts { pub message: String, pub class: Vec<String>, pub data: Option<ConditionData>, pub call: ConditionCall, }
Expand description

The parts of a condition the generated Err arms hand to crate::error_value::result_err_condition_value / crate::error_value::conversion_condition_value, and that RCondition::into_parts splits a payload into: message, user classes, data fields and the ConditionCall choice.

Fields§

§message: String§class: Vec<String>§data: Option<ConditionData>§call: ConditionCall

Trait Implementations§

Source§

impl Debug for ErrParts

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 80 bytes