Socket
Socket
Sign inDemoInstall

edge-error

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edge-error

Create errors custom stack trace pointing to the Edge source file


Version published
Weekly downloads
33K
increased by5.31%
Maintainers
1
Weekly downloads
 
Created
Source

edge-error

Create errors custom stack trace pointing to the Edge source file

travis-image npm-image

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.

  1. Contributing
  2. Code of conduct

Authors & License

thetutlage and contributors.

MIT License, see the included MIT file.

Keywords

FAQs

Package last updated on 03 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc