Unverified Commit 797c4217 authored by Dominique's avatar Dominique Committed by GitHub
Browse files

fix: change error&error codes returned from /transaction/* related endpoints (#1312)

* fix: change error&error codes returned from /transaction/* related endpoints

* Revert back to using `extractCauseAndStack` & pass error code in `txErrorMiddleware`
- Reverted to the previous error handling with `extractCauseAndStack`
- Added the `code` in error thrown and passed it in the `txErrorMiddleware`
- Reverted the changes to the test `.spec` files
- Updated the mock files with the error code returned since now `err` also includes the `code`
- Updated `ITxLegacyError`
- Reverted changes in docs and rebuilt

* fix: removed comment
parent 28e60789
Pipeline #379401 passed with stages
in 38 minutes and 12 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment