Xuanwo commented on code in PR #3492:
URL:
https://github.com/apache/incubator-opendal/pull/3492#discussion_r1383440417
##########
bindings/python/upgrade.md:
##########
@@ -27,3 +27,22 @@ Open a file for reading in async way:
async with await op.open(filename, "rb") as r:
content = await r.read()
```
+
+## Breaking change for Errors
+
+We remove the old error classes and provide a couple of Exception based class
for the error handling.
+
+1. `opendal.Error` is removed, use `opendal.exceptions.Unknown` instead.
Review Comment:
I don't like the idea of `Unknown`, please use `Unexpected` instead.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]