rpc: Proposed error format
This commit is on top of !1078 (merged), not really because it depends on that semantically, but to avoid merge conflicts.
This commit is on top of !1078 (merged), not really because it depends on that semantically, but to avoid merge conflicts.