fxa/libs/payments/paypal
Bianca Danforth a9dc3372fe
feat(shared): create error library with initial error classes
Because:

* We want an error library to generalize error handling across all new integrated libraries.

This commit:

* Generates a new JS library with nx called shared-error that exports a few error classes.
* Ports the PayPalClientError to the new library as an example error (renamed to PayPalNVPError with PayPalClientError becoming a MultiError composed of one or more PayPalNVPErrors), refactoring the multiple error handling logic to a new helper.

Closes #FXA-7656
2023-08-02 11:26:54 -04:00
..
src feat(shared): create error library with initial error classes 2023-08-02 11:26:54 -04:00
.eslintrc.json
README.md
jest.config.ts chore(next): Add Next.js to fxa and initial setup 2023-07-19 14:57:15 -04:00
package.json
project.json
tsconfig.json
tsconfig.lib.json
tsconfig.spec.json

README.md

payments-paypal

This library was generated with Nx.

Building

Run nx build payments-paypal to build the library.

Running unit tests

Run nx test payments-paypal to execute the unit tests via Jest.