Skip to content

saulogt/parse-error-plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I really don't understand why Parse.Error is not a subclass of native Error. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published