codegen StatusCode