hyperledger-cacti / cacti

Hyperledger Cacti is a new approach to the blockchain interoperability problem
https://wiki.hyperledger.org/display/cactus
Apache License 2.0
344 stars 286 forks source link

refactor(connector-fabric): reusable error handler in REST endpoints #3423

Closed ArchanaArige closed 4 months ago

ArchanaArige commented 4 months ago
  1. Error-handling : Updates to the catch block of the Rest API endpoints of fabric package by importing the utility function handleRestEndpointException from cactus-core package that differentiates the user/developer errors.
  2. Minor code changes in the endpoints like adding the functions and formulating the error messages.

Pull Request Requirements

Character Limit

A Must Read for Beginners For rebasing and squashing, here's a must read guide for beginners.