logo
pub fn get_precondition_failure(response: &[Rc<ExecutionResult>]) -> &Error
Expand description

Returns an error if the ExecutionResult has an error.

Panics

Panics if the result is None. Panics if the result does not have a precondition failure. Panics if result.as_error() is None.