deno
cdeb6d04 - fix: Format non-error exceptions (#14604)

Commit
4 years ago
fix: Format non-error exceptions (#14604) This commit adds "Deno.core.setFormatExceptionCallback" which can be used to provide custom formatting for errors. It is useful in cases when user throws something that is non-Error (eg. a string, plain object, etc).
Author
Committer
Parents
Loading