Looking at the core gRPC status codes this morning. There are 17 status codes in all, and most of them — like NOT_FOUND or PERMISSION_DENIED — are what you expect. I can see why those codes are listed there. They’re pretty common error conditions seen in most systems.

But the code DATA_LOSS appears there as well:

DATA_LOSS (15): Unrecoverable data loss or corruption.

I’m a little curious as to why that error case was considered worthy enough to be given a code here. Hopefully not because it was frequent enough to warrant one.