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

郁闷 #50

Open
HelloFrg opened this issue May 13, 2019 · 1 comment
Open

郁闷 #50

HelloFrg opened this issue May 13, 2019 · 1 comment

Comments

@HelloFrg
Copy link

[XMCenter setErrorProcessBlock:^(XMRequest *request, NSError * _Nullable __autoreleasing *error) {
// 比如对不同的错误码统一错误提示等

}];

这个block的error为啥点不出来code

@LiJinShi
Copy link

(*error).code,好像要这样使用,其他方法内可以修改error

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

No branches or pull requests

2 participants