summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/test/non_error_thrown.ts
AgeCommit message (Collapse)Author
2022-06-06fix: Format non-error exceptions (#14604)Nayeem Rahman
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).