diff options
| author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2022-06-06 19:26:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-06 20:26:57 +0200 |
| commit | e3eae662f3d753141571bd132ccb199f95c745ea (patch) | |
| tree | e0cdad78f409c9b221b909d0d7dfcee286e6325f /ops/lib.rs | |
| parent | 1081659be176a59512a7e9e3dc93e13046a26aec (diff) | |
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).
Diffstat (limited to 'ops/lib.rs')
0 files changed, 0 insertions, 0 deletions
