Skip to main content

RaisedProtectedOutcome

Type Alias RaisedProtectedOutcome 

Source
pub type RaisedProtectedOutcome = ProtectedOutcome<Raised>;
Expand description

Protected-call result specialized to the shared raised envelope.

Aliased Type§

pub enum RaisedProtectedOutcome {
    Returned(Vec<Value>),
    Raised(Raised),
}

Variants§

§

Returned(Vec<Value>)

The callable returned normally.

§

Raised(Raised)

The callable raised a mapped error value.