@springtree/eva-sdk-core-available-services
v3.1.14
Published
This SDK core module handles the rejection of services that are not available for a user
Downloads
30
Keywords
Readme
@springtree/eva-sdk-core-available-services
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 { evaAvailableServices } from '@springtree/eva-sdk-core-availableServices');
// This will register and enable the interceptor with the EvaService class
//
evaAvailableServices.activate();