Skip to content
This repository was archived by the owner on Nov 21, 2017. It is now read-only.

andreyvital/babel-plugin-extends-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

babel-plugin-extends-error npm version

The problem: extends Error. The stack trace isn't available when your code is transpiled with babel.

Installation

npm install babel-plugin-extends-error --save

It requires es6-error installed on your side. Just npm install es6-error --save and you're good to go. This plugin simply detects if you're extending from Error and converts it to ExtendableError.

About

A babel plugin that converts extends `Error` to `ExtendableError`

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •