pub fn codes(error: &Error) -> impl Iterator<Item = String> + '_
The stable error codes in the chain, outermost first.