gorilla/rpc

Can't return certain errors in the codec's format

kdar opened this issue · 1 comments

kdar commented

Any kind of error that calls "writeError" cannot be written in the codec's format. For example, if you do a jsonrpc call to a service and method doesn't exist, it just returns plain text/plain when I would like to return valid json.

I'm making a soaprpc library using gorilla/rpc, and I would like to return a soap fault in these instances.

Closing due to inactivity.