R-a-dio / valkyrie

R/a/dio software stack
https://r-a-d.io
MIT License
5 stars 3 forks source link

introduce upspin-like error type #56

Closed Wessie closed 5 years ago

Wessie commented 5 years ago

This introduces an upspin like error type (see https://commandcenter.blogspot.com/2017/12/error-handling-in-upspin.html)

With the exception of some RPC routes, this new error type is used throughout a large part of the code base. Fixing the RPC routes is possible, but requires reworking some part of the protobuf schema.

Another exception is most of the non-public facing section of the streamer package, methods called through RPC return the new types, but all internal error handling is still done the old way.