Requirement: Error handling framework
Short Description: This framework will enable any project to have better handling of the errors from the third-party integrations. It will work as a middle layer between the application and third-party applications. This framework should be able to translate the error descriptions from the Error Master repository where businesses can provide their own descriptions for the error codes. These translated error messages will be propagated to the end-user and the same will be logged into the database (* probably NoSQL DB).
We have to log the error messages in such a way that I can track all the messages for a particular business flow. So we need to have a provision for capturing business flow ID as well.
# Task Description
1 Designing and Setting up Error Master Table
2 Designing the API / Utility for accepting the response from Third-Party Integration service and propagate the translated error description
3 Finalizing the attributes for audit trail
4 Designing the API/Utility for logging the translated error response along with audit attributes into the database
5 Unit Test cases