hyperswitch
feat(errors): populate error details in response
#10837
Merged

feat(errors): populate error details in response #10837

ayush22667
ayush22667 feat(gsm): add standardised error fields to GSM models and database s…
efc84c3e
ayush22667 feat(gsm): add StandardisedCode enum for error handling in API specif…
34ffbadb
ayush22667 feat(gsm): add StandardisedCode enum for standardized error handling …
9ba83455
ayush22667 feat(gsm): standardize error code naming for wallet and token configu…
c59775a3
ayush22667 feat(gsm): standardize error codes to snake_case in API specification…
900c65b2
ayush22667 feat(gsm): increase max length for description and user guidance mess…
6e9b3248
ayush22667 feat(gsm): enhance descriptions and user guidance messages for error …
460921f2
hyperswitch-bot[bot] docs(openapi): re-generate OpenAPI specification
c565e523
ayush22667 feat(gsm): standardize error code naming for unknown errors in API sp…
8a15baf1
ayush22667 feat(gsm): enhance descriptions and guidance for standardised error c…
364c67c1
hyperswitch-bot[bot] docs(openapi): re-generate OpenAPI specification
7f774486
hyperswitch-bot[bot] chore: run formatter
695c9d69
ayush22667 feat(payment): Sort StandardisedCode enum variants alphabetically
6a4c7ba8
hyperswitch-bot[bot] docs(openapi): re-generate OpenAPI specification
99fb741d
ayush22667 feat(payments): add structured error details to payment attempts
75554e6c
ayush22667 Merge branch 'main' of https://github.com/juspay/hyperswitch into fea…
8b1f7619
hyperswitch-bot[bot] docs(openapi): re-generate OpenAPI specification
ceb9a19a
ayush22667 feat(payment): update error_details field to use Box<Option<ErrorDeta…
678e6499
ayush22667 Merge branch 'feat/error-details-struct' of https://github.com/juspay…
e191ef04
ayush22667 Merge branch 'feat/gsm-standardised-codes' into feat/error-details-st…
7e9615a3
ayush22667 Merge branch 'main' into feat/gsm-standardised-codes
79ddb6c9
ayush22667 Merge branch 'feat/gsm-standardised-codes' into feat/error-details-st…
6dc94b95
ayush22667 Merge branch 'main' into feat/error-details-struct
fb8e5b47
ayush22667 Merge branch 'main' into feat/error-details-struct
b43afd0b
ayush22667 feat(migrations): remove error_details column from payment_attempt an…
72f81093
ayush22667 Merge branch 'feat/error-details-struct' of https://github.com/juspay…
dfd5935e
ayush22667 feat(payment_attempt): add error_details field to PaymentAttempt and …
90c37fb4
ayush22667 feat(payment_attempt): replace GsmDecision with Retry enum in Unified…
a547e789
ayush22667 Merge branch 'main' into feat/error-details-struct
84b866ad
ayush22667 feat(enums): rename Retry enum to RecommendedAction in common_enums
f1cfdaf6
ayush22667 Merge branch 'feat/error-details-struct' of https://github.com/juspay…
b0b8bdf1
ayush22667 feat(payments): add error details for PaymentsResponse
eeb93d5e
hyperswitch-bot[bot] chore: run formatter
d50b5097
ayush22667 Merge branch 'main' of https://github.com/juspay/hyperswitch into fea…
f06e71b6
ayush22667 Merge branch 'main' into feat/error-details-struct
70249345
ayush22667 feat(api): add error_details field to PaymentError schema
a1293465
ayush22667 Merge branch 'feat/error-details-struct' into feat/add-error-details-…
10201d2c
ayush22667 feat(api): add smithy type
0d4ab504
ayush22667 Merge branch 'feat/add-error-details-response' of https://github.com/…
0078268a
ayush22667 feat(api): add detailed error schemas for payment responses
d12d3a4e
ayush22667 feat(api): add error_details field
847f17c8
ayush22667 feat(api): refactor error details mapping for improved clarity
71aa397f
hyperswitch-bot[bot] chore: run formatter
3fcaecec
ayush22667 Update payments api models
243cb658
ayush22667 Merge branch 'main' into feat/add-error-details-response
0d4eb36d
ayush22667 refactor: Remove error_details field from PaymentAttempt conversion
ae408bde
ayush22667 feat(errors): enhance error details structure with UnifiedCode and fo…
c9a11b77
ayush22667 feat(errors): update error category to use UnifiedCode reference
d715454e
ayush22667 feat(errors): add UnifiedCode enum to error details response
09b09129
hyperswitch-bot[bot] docs(openapi): re-generate OpenAPI specification
12e19b7d
ayush22667 feat(errors): populate error details in response
0b168327
ayush22667 ayush22667 requested a review 206 days ago
ayush22667 ayush22667 requested a review 206 days ago
semanticdiff-com
hyperswitch-bot[bot] chore: run formatter
b71ba1d6
ayush22667 ayush22667 assigned ayush22667 ayush22667 206 days ago
ayush22667 ayush22667 added T-Core
ayush22667 refactor: improve code formatting and readability in various files
d5c2c887
ayush22667 Merge branch 'feat/populate-error-details-response' of https://github…
3220553a
codecov
ayush22667 fix: handle case where character conversion may fail in to_snake_case…
a9b7be49
ayush22667 feat(errors): enhance error details structure and conversion for paym…
c4a8fb5e
ayush22667 feat(errors): change error category type from UnifiedCode to String i…
18a63a08
ayush22667 Merge branch 'main' of https://github.com/juspay/hyperswitch into fea…
55f0f483
ayush22667 Merge branch 'feat/add-error-details-response' of https://github.com/…
831fd933
ayush22667 feat(errors): change error category type from UnifiedCode to String i…
4f7d31f5
hyperswitch-bot[bot] chore: run formatter
d6e003cb
ayush22667 feat(errors): add network_error_message field to error details struct…
93d9a37b
ayush22667 Merge branch 'feat/populate-error-details-response' of https://github…
dd2aef84
ayush22667 feat(errors): update retry enum values to use snake_case format
4a5f0f5c
hyperswitch-bot hyperswitch-bot added M-api-contract-changes
ayush22667 feat(logging): remove debug log for merchant advice code lookup
9f8050fc
sai-harsha-vardhan
sai-harsha-vardhan commented on 2026-01-08
ayush22667 feat(errors): enhance error details structure and handling in payment…
4c63739a
ayush22667 feat(errors): add error_details field to PaymentAttemptResponse and u…
e8ebbd82
hyperswitch-bot[bot] chore: run formatter
8bbde69b
hyperswitch-bot[bot] docs(openapi): re-generate OpenAPI specification
c0efdf39
ayush22667 feat(retry): allow too_many_arguments lint for modify_trackers functi…
d8278496
ayush22667 Merge branch 'feat/populate-error-details-response' of https://github…
6f7fe66d
ayush22667 feat(errors): add card_network field to various payment structures an…
eb9c9af4
sai-harsha-vardhan
sai-harsha-vardhan commented on 2026-01-12
Base automatically changed from feat/add-error-details-response to main 200 days ago
ayush22667 feat(errors): update error detail structures to use owned types and i…
719293d2
ayush22667 Merge branch 'main' of https://github.com/juspay/hyperswitch into fea…
9e1baf3b
hyperswitch-bot[bot] docs(openapi): re-generate OpenAPI specification
5415c40c
sai-harsha-vardhan
sai-harsha-vardhan commented on 2026-01-12
ayush22667 feat(errors): enhance error detail structures to support nested optio…
6d0351e6
ayush22667 Merge branch 'main' into feat/populate-error-details-response
39f26870
ayush22667 Merge branch 'feat/populate-error-details-response' of https://github…
d52fbdb4
ayush22667 feat(errors): update error fields to support nested option types for …
1b4fe96d
ayush22667 feat(errors): remove default value for description in MerchantAdviceC…
4c1b467b
sai-harsha-vardhan
sai-harsha-vardhan dismissed these changes on 2026-01-13
ayush22667 feat(errors): add merchant advice codes configuration for improved er…
055f6b62
ayush22667 ayush22667 dismissed their stale review via 055f6b62 198 days ago
hyperswitch-bot[bot] chore: run formatter
25c6ea06
ayush22667 feat(errors): update lookup_merchant_advice_code_config to read from …
fa224b87
ayush22667 feat(errors): simplify merchant advice code lookup in payment respons…
dbf88586
ayush22667 Merge branch 'main' into feat/populate-error-details-response
710fde5e
ayush22667 feat(errors): refactor merchant advice codes configuration for improv…
be2e5593
ayush22667 Merge branch 'feat/populate-error-details-response' of https://github…
fa2d7ec1
ShankarSinghC
ShankarSinghC commented on 2026-01-16
ayush22667 feat(errors): rename merchant advice codes configuration for clarity
0a082fab
ayush22667 feat(errors): update error_details to support nested Option type
ac35d841
ayush22667 feat(errors): refactor merchant advice codes configuration for improv…
b2836892
sai-harsha-vardhan
sai-harsha-vardhan commented on 2026-01-19
ayush22667 feat(errors): add merchant advice code configuration and lookup metrics
eaaf47bb
ayush22667 feat(metrics): update merchant advice code metrics logging to use met…
d3bd9f03
ayush22667 feat(payments): refactor merchant advice code retrieval to use helper…
dc53eed0
ayush22667 feat(payments): refactor get_merchant_advice_code_recommended_action …
c9551004
sai-harsha-vardhan
sai-harsha-vardhan dismissed these changes on 2026-01-20
ayush22667 ayush22667 requested a review from ShankarSinghC ShankarSinghC 192 days ago
ShankarSinghC
ShankarSinghC dismissed these changes on 2026-01-20
ayush22667 Merge branch 'main' of https://github.com/juspay/hyperswitch into fea…
f196253a
ayush22667 ayush22667 dismissed their stale review via f196253a 185 days ago
ayush22667 ayush22667 dismissed their stale review via f196253a 185 days ago
ayush22667 ayush22667 added S-test-ready
ayush22667 ayush22667 requested a review from ShankarSinghC ShankarSinghC 185 days ago
ayush22667 ayush22667 requested a review from sai-harsha-vardhan sai-harsha-vardhan 185 days ago
ayush22667 ayush22667 removed S-test-ready
ayush22667 ayush22667 added S-test-ready
ShankarSinghC
ShankarSinghC approved these changes on 2026-01-27
hrithikesh026
hrithikesh026 commented on 2026-01-27
hrithikesh026
hrithikesh026 commented on 2026-01-27
hrithikesh026
hrithikesh026 approved these changes on 2026-01-27
bernard-eugine bernard-eugine merged f4d5f0ca into main 185 days ago
bernard-eugine bernard-eugine deleted the feat/populate-error-details-response branch 185 days ago
hyperswitch-bot hyperswitch-bot removed S-test-ready

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone