ernie icon indicating copy to clipboard operation
ernie copied to clipboard

Error response form for native modules

Open yarsanukayev opened this issue 13 years ago • 0 comments

According to the BERT-RPC 1.0 spec error response should take the form of a tuple with two elements: an atom error and a tuple with five elements with error details, so I've corrected the appropriate code for native modules and tested if it works.

This fix doesn't seem to affect something and works correctly with my BERT-RPC client providing it with the tuple consisting of the two elements: the atom and the tuple. Wireshark shows correct hex-encoded terms while they're being transmitted between interfaces.

yarsanukayev avatar Dec 11 '10 17:12 yarsanukayev