Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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

  • 2.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
31K
decreased by-11.21%
Maintainers
1
Weekly downloads
 
Created
Source

Edge error

Create errors custom stack trace pointing to the Edge source file

circleci-image typescript-image npm-image license-image synk-image

Usage

Install the package from npm registry as follows

npm i edge-error

# yarn
yarn add 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'
})

Maintainers

Harminder virk

Keywords

FAQs

Package last updated on 23 Mar 2021

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