right now the "error reporting" of FromJSVal is Maybe and to avoid the Maybe I use a bunch of fromJSValUnchecked which tosses exceptions. Tossing exceptions inside of JS callbacks (at least the promise returned by stripe.createToken) seems to get eaten rather than reported and makes finding issues with that conversion process tedious
it'd be better to have some kind of real parsing with error locations and all that.
right now the "error reporting" of
FromJSValisMaybeand to avoid theMaybeI use a bunch offromJSValUncheckedwhich tosses exceptions. Tossing exceptions inside of JS callbacks (at least the promise returned bystripe.createToken) seems to get eaten rather than reported and makes finding issues with that conversion process tediousit'd be better to have some kind of real parsing with error locations and all that.