mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
Do not convert exceptions to JSON and back (#4214)
This commit is contained in:
parent
3fcbf8789e
commit
eafd40feab
14 changed files with 280 additions and 764 deletions
|
@ -96,7 +96,7 @@ declare global {
|
|||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
evalContext(code: string): [any, EvalErrorInfo | null];
|
||||
|
||||
errorToJSON: (e: Error) => string;
|
||||
formatError: (e: Error) => string;
|
||||
}
|
||||
|
||||
// Only `var` variables show up in the `globalThis` type when doing a global
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue