Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: (WIP) Improve error marshaling from JS to Ruby #37

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Apr 24, 2016

  1. Improve error marshaling from JS to Ruby

    Preserve the message and the name of the error if the runtime provides them.
    Also, if possible use Object.assign(...) to copy any additional properties
    from the thrown error into the return metadata. Pack the error stack
    into the response value together with the error metadata.
    
    Adds :metadata reader to the Ruby error classes so that additional JS
    error metadata can be recovered on the Ruby side if desired.
    julik committed Apr 24, 2016
    Configuration menu
    Copy the full SHA
    39dde5e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    01605a4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ebf997f View commit details
    Browse the repository at this point in the history