@wix/error-handler
v1.67.0
Published
This package provides a simple error handling mechanism for your application.
Maintainers
Keywords
Readme
error-handler
This package provides a simple error handling mechanism for your application.
Features
Error extraction & mapping
The library will extract the following our of a error response:
- status code
- error code
- error details
The consumer will provide a mapping object to map status code + error code to:
- message
- action.text
- action.onClick
