Skip to content

Conversation

@rossberg
Copy link
Member

  • Introduce a reference type wasm::Trap / wasm_trap_t to represent traps (backed by a JS Error instance -- enables them to maintain stack traces etc).
  • Change Result / wasm_result_t to carry a trap instead of just a message in the trap case.
  • Adjust examples.
  • Fix wasm_name_new_from_string.

@rossberg
Copy link
Member Author

@lostman, FYI.

@rossberg rossberg merged commit b17d42a into master Jul 15, 2018
@rossberg rossberg deleted the trap branch July 15, 2018 08:24
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.

2 participants