fn chain_header_error_into_reply(err: Error) -> Error