npm.io
0.1.5 • Published 5 years ago

error-stack-tracey

Licence
BSD-3-Clause
Version
0.1.5
Deps
2
Size
4 kB
Vulns
0
Weekly
0

error-stack-tracey npm

Trace error stack with sourcemap.

Usage

const { parse, print } = require('error-stack-tracey');

// Parse the error stack
const errorStack = await parse(error, bundleContent);

// Print the error stack
print(errorMessage, errorStack);