Currently all errors in dml functions are forwarded to JavaScript exceptions. That is a problem, as the user should not be able to handle internal fatal erros. It makes sense to have only Application errors exposed to JS and panic for internal errors. That panic than needs to be captured in the dml runtime.
Currently all errors in dml functions are forwarded to JavaScript exceptions. That is a problem, as the user should not be able to handle internal fatal erros. It makes sense to have only Application errors exposed to JS and panic for internal errors. That panic than needs to be captured in the dml runtime.