Skip to main content

assert_err_code

Function assert_err_code 

Source
pub fn assert_err_code(result: AppResult<impl Debug>, code: ErrorCode)
Expand description

Assert that the result is an error with the expected ErrorCode.