Skip to main content

contract_for_dyn

Function contract_for_dyn 

Source
pub fn contract_for_dyn(err: &(dyn Error + 'static)) -> &'static ErrorContract
Expand description

The contract row for any error, falling back to unexpected_error for errors that did not originate as an ApiError.