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

1.6.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

830

Version

1.6.0

License

MIT

Unpacked Size

86.1 kB

Total Files

5

Last publish

Collaborators

  • levivilet