Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] CommonError 实现 error interface #567

Closed
uoryon opened this issue May 16, 2022 · 3 comments
Closed

[Feature] CommonError 实现 error interface #567

uoryon opened this issue May 16, 2022 · 3 comments

Comments

@uoryon
Copy link
Contributor

uoryon commented May 16, 2022

目前 DecodeWithCommonError 与 DecodeWithError 发生错误时,返回的 fmt.Errorf,外部并不是很好处理,想直接返回 CommonError,外部即可使用,分析微信服务端 api 业务层异常。

详见 pr。

@uoryon
Copy link
Contributor Author

uoryon commented May 16, 2022

#568

@uoryon
Copy link
Contributor Author

uoryon commented May 16, 2022

@houseme PTAL

@silenceper
Copy link
Owner

fixed in #568

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants