0.0.6 • Published 6 years ago
parse-error-plus v0.0.6
This module adds the stack trace to Parse.Error objects and makes it an instance of native Error as well. Tested on NodeJs
For more information: http://parseplatform.org/Parse-SDK-JS/api/classes/Parse.Error.html
Install
npm i parse-error-plus --save
Usage
ES6 or Typescript
import { setupParseError } from 'parse-error-plus'
setupParseError(Parse)
Old way
require('parse-error-plus').setupParseError(Parse)
Parse
must be defined before calling it.