Back to Reaction

reaction-error

packages/reaction-error/README.md

5.0.01.2 KB
Original Source

reaction-error

Error handling for the Reaction API.

How To Use

Note: Be sure you are using NPM 5+

First install in your project directory:

bash
npm install @reactioncommerce/reaction-error

Import ReactionError in the file you wish to use it in

js
import ReactionError from "@reactioncommerce/reaction-error";

Releases

This NPM package is published automatically on every push to the trunk branch. Be sure to use proper Git commit messages so that the version will be bumped properly and release notes can be automatically generated.