parse-error-plus
v0.0.6
Published
Augmentation of parse.error in order to add more information to logs. It is basically a shim that makes Parse.Error a subclass of native Error
Readme
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.
