gnoi
gnoi copied to clipboard
Specify error codes for gnoi.File
It's observed that implementations vary in which error codes are used when files or directories do not exist. This PR clarifies that the gRPC error code NOT_FOUND must be used for these conditions. It also provides a suggestion for mapping file errors to gRPC errors for other common error conditions as a reminder to implementors.
Pull Request Test Coverage Report for Build 20143439752
Details
- 0 of 0 changed or added relevant lines in 0 files are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage remained the same at 0.0%
| Totals | |
|---|---|
| Change from base Build 20117778942: | 0.0% |
| Covered Lines: | 0 |
| Relevant Lines: | 12347 |
💛 - Coveralls
looks good to me, thanks for putting this together!
@ElodinLaarz please review!
Reviewed in Dec 16, 2025 OC Operators meeting without objection. Setting last call status. This will merge on Dec 23, 2025.