/damnerror

Express your feelings while throwing damn errors!

Primary LanguageJavaScriptMIT LicenseMIT

Throw table gif!

Damn Error

Express your feelings while throwing damn errors!


This package is production ready and has 100% test coverage so don't hesitate to use it in an enterprise application. Yeah... that would be fun!

Tables of Contents

Install

npm:

npm install damnerror

Yarn:

yarn add damnerror

GitHub:

git clone https://github.com/mazecodes/damnerror.git

Usage

Wanna throw a table? I got you:

const DamnError = require('damnerror');

try {
  throw new DamnError();
} catch (err) {
  console.log(err.message); // (╯°□°)╯︵ ┻━┻
}

Throwing tables isn't your thing? Fine, you can shout as well!

const DamnError = require('damnerror');

try {
  throw new DamnError('Password is wrong');
} catch (err) {
  console.log(err.message); // ૮( ᵒ̌▱๋ᵒ̌ )ა PASSWORD IS WRONG!!!
}

Run tests

npm run test

Contributing

All contributions, issues and feature requests are welcome!
Please feel free to check issues page.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AwesomeFeature)
  3. Commit your changes (git commit -m "Add Awesome Feature")
  4. Push to the branch (git push origin feature/AwesomeFeature)
  5. Open a Pull Request

Author

Maze Peterson:

Show your support

Give a if you liked this project!

License

MIT © Maze Peterson