Fix comment in generated code.
Functions return error codes, they do not panic if something goes wrong.