mirror of
https://github.com/denoland/deno.git
synced 2025-01-07 14:48:14 -05:00
c113df1bb8
- Improves speed and binary size significantly. - Makes deno_last_exception() output a JSON structure. - Isolate::execute and Isolate::event_loop now return structured, mapped JSError objects on errors. - Removes libdeno functions: libdeno.setGlobalErrorHandler() libdeno.setPromiseRejectHandler() libdeno.setPromiseErrorExaminer() In collaboration with Ryan Dahl.
10 lines
322 B
Text
10 lines
322 B
Text
hello
|
|
before error
|
|
world
|
|
Error: error
|
|
at foo ([WILDCARD]tests/async_error.ts:4:9)
|
|
at eval ([WILDCARD]tests/async_error.ts:7:1)
|
|
at _gatherDependencies ([WILDCARD]/js/runner.ts:[WILDCARD])
|
|
at run ([WILDCARD]/js/runner.ts:[WILDCARD])
|
|
at denoMain ([WILDCARD]/js/main.ts:[WILDCARD])
|
|
at deno_main.js:1:1
|