Skip to content

Error response form for native modules - #12

Open
yarsanukayev wants to merge 1 commit into
mojombo:masterfrom
yarsanukayev:err_response_form
Open

yarsanukayev wants to merge 1 commit into
mojombo:masterfrom
yarsanukayev:err_response_form

Conversation

@yarsanukayev

Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant