I'm hoping to make it possible to actually defined application
errors with user defined content. For example:
class ResourceNotAvailable(remote.ApplicationError):
resource_name = messages.StringField(1)
There will be a field bytes field on RpcStatus that will accept an
encoded version of ResourceNotAvailable. This field can then contain
another bytes field if that's what you need.
The thing that's preventing this from moving forward easily is that
it needs to have a design that will not break compatibility with the
protobuf standard. In particular, I would like to be able to describe
an application error using the classes found in descriptor. Make
sense?