2.0.0 • Published 6 months ago
@lvce-editor/pretty-error v2.0.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)