I think this is non-obvious enough to deserve a brief comment line e.g. "translate from internal hapi error objects into our standardized format"