Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

beauty-error

Kikobeats605MIT1.2.20

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

error, pretty, render, ugly

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'))
  • 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 · X @Kikobeats

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.2.20 (2025-02-03)

Bug Fixes

  • error.stack can be immutable (68fdc0b)

1.2.19 (2025-02-03)

1.2.18 (2023-10-24)

1.2.17 (2023-09-07)

1.2.16 (2023-09-07)

1.2.15 (2022-05-17)

1.2.14 (2022-04-12)

1.2.13 (2022-04-04)

1.2.12 (2022-03-02)

1.2.11 (2022-02-25)

1.2.10 (2022-02-25)

1.2.9 (2021-10-25)

1.2.8 (2021-01-05)

1.2.7 (2021-01-04)

1.2.6 (2020-11-10)

1.2.5 (2020-06-15)

1.2.4 (2020-05-07)

1.2.3 (2019-11-25)

1.2.2 (2019-06-19)

Bug Fixes

1.2.1 (2019-06-19)

Build System

1.2.0 (2019-05-28)

Build System

Features

Tests

1.1.5 (2019-05-20)

Build System

  • change git-authors-cli position (81680c4)

1.1.4 (2019-05-13)

Build System

1.1.3 (2019-02-18)

1.1.2 (2019-01-15)

1.1.1 (2018-12-11)

Bug Fixes

  • ensure clean stack if exist (3f9580d)

1.1.0 (2018-11-15)

Features

1.0.1 (2018-11-05)

Bug Fixes

1.0.0 (2018-11-05)