mirror of
https://github.com/denoland/deno.git
synced 2025-02-22 13:13:32 -05:00

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).
1 line
22 B
TypeScript
1 line
22 B
TypeScript
throw { foo: "bar" };
|