Skip to content

Error response form for native modules #12

Open
wants to merge 1 commit into from

1 participant

@yarsanukaev

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.