Package Exports
- edge-error
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (edge-error) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Table of contents
Edge error
Create errors custom stack trace pointing to the Edge source file
Usage
Install the package from npm registry as follows
npm i edge-error
# yarn
yarn add edge-errorThen use it as follows
const { EdgeError } = require('edge-error')
throw new EdgeError('message', 'status', {
line: 1,
col: 2,
filename: '/path/to/index.edge'
})