This website requires JavaScript.
Explore
Help
Sign in
foster
/
denoland-deno
Watch
1
Star
0
Fork
You've already forked denoland-deno
0
mirror of
https://github.com/denoland/deno.git
synced
2024-11-05 09:04:41 -05:00
Code
Issues
Wiki
Activity
b6ac54815c
denoland-deno
/
cli
/
tests
/
testdata
/
run
/
error_007_any.ts
2 lines
22 B
TypeScript
Raw
Normal View
History
Unescape
Escape
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).
2022-06-06 14:26:57 -04:00
throw
{
foo
:
"bar"
}
;
Copy permalink