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
edge-error
Create errors custom stack trace pointing to the Edge source file
Usage
Grab the package from npm as edge-error
npm i edge-error
Then use it as follows
const { EdgeError } = require('edge-error')
throw new EdgeError('message', 'status', {
line: 1,
col: 2,
filename: '/path/to/index.edge'
})
Change log
The change log can be found in the CHANGELOG.md file.
Contributing
Everyone is welcome to contribute. Please go through the following guides, before getting started.
Authors & License
thetutlage and contributors.
MIT License, see the included MIT file.