fatal-error
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Fatal Error Travis CI Build Status

Throw an uncatchable error.

NPM Badge

Install

npm install fatal-error

Usage

const fatalError = require("fatal-error");
 
fatalError(new Error("Catch me if you can!"));

API

fatalError(error)

error

Type: Error

The error to throw.

Dependencies (1)

Dev Dependencies (3)

Package Sidebar

Install

npm i fatal-error

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

2.72 kB

Total Files

6

Last publish

Collaborators

  • richienb