divan/gorilla-xmlrpc

Need add fatal handling.

Closed this issue · 3 comments

Need handle fatal case, for now, fatal will end up an empty response.

I did some support for fatalHandling, currently it will pass back an error if RPC response is a fatal, and will use FatalString as Error's content.

Also I think better add FatalCode, but this seems needs to extension to the Error interface.
But at least it works and can figure out there is an error.

Hey kzjeef, sorry for late response. Thanks for your contribution. I've modified it to use Fault structure, which already has Code and Strings fields.
Please check if latest master branch works for you smoothly.

Assuming issue is solved.