Function map_to_procedure_error

Source
pub fn map_to_procedure_error(e: Error) -> Error
Expand description

Maps the error to the corresponding procedure error.

This function determines whether the error should be retried and if poison cleanup is needed, then maps it to the appropriate procedure error variant.