mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 21:24:48 +00:00
refactor(cli/js): Replace constructError() with getErrorClass() (#4189)
Flattens dispatch error handling to produce one less useless stack frame on op errors.
This commit is contained in:
parent
f55b22e195
commit
1f9d158bdc
10 changed files with 32 additions and 39 deletions
|
@ -1,6 +1,5 @@
|
|||
[WILDCARD]error: Uncaught NotFound: Cannot resolve module "[WILDCARD]/bad-module.ts" from "[WILDCARD]/error_004_missing_module.ts"
|
||||
[WILDCARD]errors.ts:[WILDCARD]
|
||||
[WILDCARD]dispatch_json.ts:[WILDCARD]
|
||||
at NotFound ([WILDCARD]errors.ts:[WILDCARD])
|
||||
at constructError ([WILDCARD]errors.ts:[WILDCARD])
|
||||
at unwrapResponse ([WILDCARD]dispatch_json.ts:[WILDCARD])
|
||||
at sendAsync[WILDCARD] ([WILDCARD]dispatch_json.ts:[WILDCARD])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue