Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

OptionAuxTrait

Fully qualified path: starkware_utils::errors::OptionAuxTrait

pub trait OptionAuxTrait<T>

Trait functions

expect_with_err

Fully qualified path: starkware_utils::errors::OptionAuxTrait::expect_with_err

fn expect_with_err<TError, +Describable<TError>, +Drop<TError>>(self: Option<T>, err: TError) -> T