You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(again, I'm not very familiar with javascript so I "fixed" this by intuition, may be I'm missing something obvious, but currently throwing from jsx is basically returning error objects with type erasure as they are converted from json)
The text was updated successfully, but these errors were encountered:
If you need it to handle custom errors it gets ugly, and you need to make sure you override the name property from the subclasses you create (as well as manually passing any additional properties you might want to pass), but is the best I could get:
Does
evalTS
catch exceptions if I'm throwing them asthrow new Error("message")
from jsx?Currently it just returns
Error
object so I've added this toevalTS
:(again, I'm not very familiar with javascript so I "fixed" this by intuition, may be I'm missing something obvious, but currently throwing from jsx is basically returning error objects with type erasure as they are converted from json)
The text was updated successfully, but these errors were encountered: