beauty-error
Version:
Getting a beauty error. Oriented for well printed errors. Be beauty, no ugly.
34 lines (21 loc) • 1.3 kB
Markdown
# beauty-error

[](https://coveralls.io/github/Kikobeats/beauty-error)
[](https://www.npmjs.org/package/beauty-error)
> Getting a beauty error. Oriented for well printed errors. Be beauty, no ugly.
## Install
```bash
$ npm install beauty-error --save
```
## Usage
```js
const beautyError = require('beauty-error')
beautyError(new Error('Something is wrong'))
```
## Related
- [whoops ](https://github.com/Kikobeats/whoops) – It makes simple throw qualified errors.
- [hard-warnings](https://github.com/jamiebuilds/hard-warnings) – Throw an error when console.warn/error are called.
## License
**beauty-error** © [Kiko Beats](https://kikobeats.com), released under the [MIT](https://github.com/Kikobeats/beauty-error/blob/master/LICENSE.md) License.<br>
Authored and maintained by Kiko Beats with help from [contributors](https://github.com/Kikobeats/beauty-error/contributors).
> [kikobeats.com](https://kikobeats.com) · GitHub [Kiko Beats](https://github.com/Kikobeats) · X [@Kikobeats](https://x.com/Kikobeats)