pub fn assert_http_status<E: DomainError + ?Sized>(err: &E, expected: u16)
Assert that err’s http_status equals expected.
err
http_status
expected
Panics with the actual status if it differs.