Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Kikobeats/beauty-error

Getting a beauty error. Oriented for well printed errors. Be beauty, no ugly.
https://github.com/Kikobeats/beauty-error

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# beauty-error

![Last version](https://img.shields.io/github/tag/Kikobeats/beauty-error.svg?style=flat-square)
[![Coverage Status](https://img.shields.io/coveralls/Kikobeats/beauty-error.svg?style=flat-square)](https://coveralls.io/github/Kikobeats/beauty-error)
[![NPM Status](https://img.shields.io/npm/dm/beauty-error.svg?style=flat-square)](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.

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) · Twitter [@Kikobeats](https://twitter.com/Kikobeats)