tweag / inline-js

Call JavaScript from Haskell, and vice versa!
https://inline-js.netlify.app
130 stars 10 forks source link

A uniform exception type #40

Closed TerrorJack closed 4 years ago

TerrorJack commented 4 years ago

This PR introduces InlineJSException as the uniform type of exceptions to be handled by library users. Some previously ad hoc fail calls are replaced with the corresponding variant of InlineJSException.