Skip to content

Conversation

@ACV-er
Copy link

@ACV-er ACV-er commented Jan 21, 2022

CMQ返回的没有CodeDesc,我尝试过自己实现tchttp.Response接口传入,但是还有一个写死的ParseErrorFromHTTPResponse。我没有办法在CMQ出错的时候获取到Code。

@ACV-er
Copy link
Author

ACV-er commented Jan 21, 2022

https://cloud.tencent.com/document/product/406/5837 像这个文档里面的接口,就没有办法处理。我认为在common里面写死所有接口的错误处理是不合理的。因为你们没有办法保证所有的返回值格式一样。

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant