7.2.1 • Published 5 years ago
@ibhargavgajjar/tiny-error v7.2.1
tiny-error
A example of error module for npm.
Install
npm install @ibhargavgajjar/tiny-error
Usage
const tiny = require("@ibhargavgajjar/tiny");
tiny("So much space!");
//=> "Somuchspace!"
tiny(1337);
//=> Uncaught TypeError: Tiny wants a string!
// at tiny (<anonymous>:2:41)
// at <anonymous>:1:1