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