parse-error-plus
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

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.

/parse-error-plus/

    Package Sidebar

    Install

    npm i parse-error-plus

    Weekly Downloads

    3

    Version

    0.0.6

    License

    ISC

    Last publish

    Collaborators

    • saulogt