Skip to content

Pretty-print (format) errors / stacktraces #296

Answered by borkdude
alpox asked this question in Q&A
Discussion options

You must be logged in to vote

I think we could expose this function

(defn error-handler [e opts]
to the JS API so you can try/catch nbb evaluations and then pass the exception to this function to get the nice error report

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@alpox
Comment options

@alpox
Comment options

@borkdude
Comment options

@borkdude
Comment options

@alpox
Comment options

Answer selected by alpox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants