go-zero
go-zero copied to clipboard
how to return my own error type in logic
怎么改模板文件,返回自定义的异常类型,方便统一生成代码
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
How to change the template file and return a custom exception type to facilitate unified code generation
Please check this doc: https://go-zero.dev/docs/tutorials/http/server/response/ext
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.