This package has been deprecated

Author message:

This package has been deprecated and is now a part of @springtree/eva-sdk-core-service. See https://springtreesolutions.github.io/eva-sdk-repo/#/updating?id=_2020-11-10

@springtree/eva-sdk-core-response-error
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

@springtree/eva-sdk-core-response-error

This is an interceptor for the EvaService implementation from @springtree/eva-sdk-core-service. It can be used to capture exceptions in the response body of a successful service call. If an exception occurs it will change the service call promise to return an error with an IEvaServiceError payload.

Usage

import { evaResponseError } from '@springtree/eva-sdk-core-response-error');

// This will register and enable the interceptor with the EvaService class
//
evaResponseError.activate();

Readme

Keywords

none

Package Sidebar

Install

npm i @springtree/eva-sdk-core-response-error

Weekly Downloads

0

Version

1.0.7

License

ISC

Unpacked Size

21.5 kB

Total Files

12

Last publish

Collaborators

  • adebree
  • appie
  • janvandenberg
  • mdoeswijk
  • springtree_solutions