@lvce-editor/pretty-error
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Pretty Error

Create user friendly error messages and code frames for errors.

Install

npm install @lvce-editor/pretty-error

Usage

import * as PrettyError from '@lvce-editor/pretty-error'

const error = new TypeError(`x is not a function`)

const prettyError = PrettyError.prepare(error)

Gitpod

Open in Gitpod

Readme

Keywords

Package Sidebar

Install

npm i @lvce-editor/pretty-error

Weekly Downloads

3,024

Version

2.0.0

License

MIT

Unpacked Size

9.41 kB

Total Files

5

Last publish

Collaborators

  • levivilet