[FEATURE] align the JSON deserialization errors into expected ErrorResponse format #6609
Closed
2 tasks done
Labels
C-feature
Category: Feature request or enhancement
S-awaiting-triage
Status: New issues that have not been assessed yet
Feature Description
HyperSwitch uses an error format for responding back with the errors in the API. This error structure is uniform across different stages of the flow. For any deserialization errors in the API, error response with a different structure is returned.
Expected
Actual
Possible Implementation
Update the
Display
implementation ofCustomJsonError
Have you spent some time checking if this feature request has been raised before?
Have you read the Contributing Guidelines?
Are you willing to submit a PR?
Yes, I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: