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.
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.