diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-07-03 16:58:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-03 16:58:08 +0200 |
commit | 6137c8046d2d1bf4145a72aa634270c7aaf23341 (patch) | |
tree | 85428d5bb447b7e17323b4d6187e7b4124d17d68 /runtime/js/01_errors.js | |
parent | d4de477ef903e2e47c6427e14f0fe543106b1297 (diff) |
refactor: use primordials in runtime/, part1 (#11241)
Diffstat (limited to 'runtime/js/01_errors.js')
-rw-r--r-- | runtime/js/01_errors.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/js/01_errors.js b/runtime/js/01_errors.js index d59bd7adb..844a8872a 100644 --- a/runtime/js/01_errors.js +++ b/runtime/js/01_errors.js @@ -3,6 +3,7 @@ ((window) => { const core = window.Deno.core; + const { Error } = window.__bootstrap.primordials; const { BadResource, Interrupted } = core; class NotFound extends Error { |