summaryrefslogtreecommitdiff
path: root/js/deno.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2019-07-29 19:11:08 +1000
committerRyan Dahl <ry@tinyclouds.org>2019-07-29 09:11:08 +0000
commit5083f5fd908057cbc8649b79c13ab78a7f7ebf34 (patch)
treed0336672fd7760593695b2e0d351c401ed1d8c02 /js/deno.ts
parentff96e3dc637974c6f9853f3bf9565bfd63f22b17 (diff)
Remap stack traces of unthrown errors. (#2693)
Diffstat (limited to 'js/deno.ts')
-rw-r--r--js/deno.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/deno.ts b/js/deno.ts
index 32899e045..8dc4fd791 100644
--- a/js/deno.ts
+++ b/js/deno.ts
@@ -58,6 +58,7 @@ export { statSync, lstatSync, stat, lstat } from "./stat";
export { linkSync, link } from "./link";
export { symlinkSync, symlink } from "./symlink";
export { writeFileSync, writeFile, WriteFileOptions } from "./write_file";
+export { applySourceMap } from "./error_stack";
export { ErrorKind, DenoError } from "./errors";
export {
permissions,
@@ -88,6 +89,9 @@ export const args: string[] = [];
/** @internal */
export { core } from "./core";
+/** @internal */
+export { setPrepareStackTrace } from "./error_stack";
+
// TODO Don't expose Console nor stringifyArgs.
/** @internal */
export { Console, stringifyArgs } from "./console";