summaryrefslogtreecommitdiff
path: root/runtime/js/40_error_stack.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-05-17 19:50:31 +0200
committerGitHub <noreply@github.com>2022-05-17 13:50:31 -0400
commitf57aac77ff9ce514730504066daca0a61a959d32 (patch)
tree34be59895172b93a255c933d0f2e579dbf3a3ccc /runtime/js/40_error_stack.js
parent9766399a3fefcab322051b4a7af41f9d40d79150 (diff)
BREAKING: Remove unstable Deno.emit and Deno.formatDiagnostics APIs (#14463)
Diffstat (limited to 'runtime/js/40_error_stack.js')
-rw-r--r--runtime/js/40_error_stack.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/runtime/js/40_error_stack.js b/runtime/js/40_error_stack.js
deleted file mode 100644
index 4269bf1ac..000000000
--- a/runtime/js/40_error_stack.js
+++ /dev/null
@@ -1,14 +0,0 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
-"use strict";
-
-((window) => {
- const core = window.Deno.core;
-
- function opFormatDiagnostics(diagnostics) {
- return core.opSync("op_format_diagnostic", diagnostics);
- }
-
- window.__bootstrap.errorStack = {
- opFormatDiagnostics,
- };
-})(this);