Skip to content

everettcaleb/chuck-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chuck Error

Throws an error as an expression so you can mix it with inline stuff. "When Chuck Norris throws exceptions, it's across the room."

To Install

npm i --save chuck-error

Usage

const chuck = require('chuck-error');
something || chuck(new Error('Something is not true!'));

Yup, it's horrible.

About

Throws an error as an expression so you can mix it with inline stuff.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published