-
Notifications
You must be signed in to change notification settings - Fork 524
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
refactor(bindings/C): Implement error with error message #3250
Conversation
\cc @jiaoew1991 Is this kind of error message expected for you? Feel free to raise any comment on this. |
Note that the changes in this PR will break the CI of other bindings depending on C binding, i.e. Swift and Zig. (Go currently do not have a CI so it is fine, but it probably will break as well). |
It would be better for us to address them simultaneously in this PR. I can take a look at zig. |
1ee5f58
to
a3b4ea4
Compare
a3b4ea4
to
9490b37
Compare
\cc @Xuanwo , thanks for the review, the suggestions are good and are adopted accordingly. |
We don't need labels for PR. |
Signed-off-by: Xuanwo <[email protected]>
I have fixed zig support, the next is swift. |
Signed-off-by: Xuanwo <[email protected]>
Go support also fixed, next one is swift. |
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
Implements the error with error code and error message
Implement opendal_result_operator_new(), now this function returns internal error message.
Refactor the tests and examples to use the above implementations.
This PR seems large, but the essence of it is to add an error message into the opendal_error. Other changes are following this feature.
Close #3244