This website requires JavaScript.
Explore
Help
Sign in
foster
/
denoland-deno
Watch
0
Star
0
Fork
You've already forked denoland-deno
0
mirror of
https://github.com/denoland/deno.git
synced
2024-10-31 09:14:20 -04:00
Code
Issues
Wiki
Activity
f14ea3d4d4
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