1.6.0 • Published 10 months ago
@lvce-editor/pretty-error v1.6.0
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)