Error handling in the graph service needs consistent mapping
Open
Type:Bug
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 274
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 103
Description
While having fun with https://github.com/owncloud/ocis/pull/7250 I noticed that erorr handling is very inconsistent, often only checking the CS3 OK status code, but ignoring permission denied, not found and all the other codes.
We should implement a conversion from cs3 status to errorcode that can be used after every CS3 api call.
Contributor guide
Assessment
This issue has not been assessed yet.