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-23 15:16:54 -05:00
Code
Issues
Packages
1
Wiki
Activity
ab07129ee7
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