beauty-error

Getting a beauty error. Oriented for well printed errors. Be beauty, no ugly.

Usage no npm install needed!

<script type="module">
  import beautyError from 'https://cdn.skypack.dev/beauty-error';
</script>

README

beauty-error

Last version Coverage Status NPM Status

Getting a beauty error. Oriented for well printed errors. Be beauty, no ugly.

Install

$ npm install beauty-error --save

Usage

const beautyError = require('beauty-error')

beautyError(new Error('Something is wrong'))

Related

  • whoops – It makes simple throw qualified errors.
  • hard-warnings – Throw an error when console.warn/error are called.

License

beauty-error © Kiko Beats, released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.

kikobeats.com · GitHub Kiko Beats · Twitter @Kikobeats