Struct combu::action::ActionError[][src]

pub struct ActionError {
    pub value: String,
    pub kind: ActionErrorKind,
    pub context: Context,
    pub related_error: Option<Box<dyn Error>>,
    pub printed: bool,
}
Expand description

ActionError stores error of action.

Fields

value: String

ActionError’s value

kind: ActionErrorKind

ActionError’s Kind

context: Context

context is a field for storing context that error occured

related_error: Option<Box<dyn Error>>

If there is an error which is not ActionError, related_error can stores it.

printed: bool

printed flag. If this is true, this shows error is not printed yet.

Implementations

Creates new ActionError.

Creates new ActionError without (not action) error info.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.