@lvce-editor/pretty-error
v2.0.2
Published
Create user friendly error messages and code frames for errors
Readme
Pretty Error
Create user friendly error messages and code frames for errors.
Install
npm install @lvce-editor/pretty-errorUsage
import * as PrettyError from '@lvce-editor/pretty-error'
const error = new TypeError(`x is not a function`)
const prettyError = PrettyError.prepare(error)