Is your feature request related to a problem? Please describe.
The current error response only includes a code and a message. This makes it impossible to return any error context given that the message is supposed to explain the code.
Describe the solution you'd like
Add a metadata field to the error type that makes it possible to return error context. It may also be desirable to change message to type?
Is your feature request related to a problem? Please describe. The current error response only includes a
code
and amessage
. This makes it impossible to return any error context given that themessage
is supposed to explain thecode
.Describe the solution you'd like Add a metadata field to the
error
type that makes it possible to return error context. It may also be desirable to changemessage
totype
?