Skip to content

Conversation

@Justintime50
Copy link
Member

@Justintime50 Justintime50 commented Feb 21, 2025

Description

  • Fixes error handling
    • Corrects the type of errors property on an ApiException to allow for the alternative format
    • Fixes a bug where you could not prettyPrint an error if it used the alternative format
    • Corrects the param references to property references on all error models
    • Adds new AddressVerificationFieldError for the errors property on a Verification model
    • Adds missing suggestion property to FieldError

Testing

  • Adds alternative error format test
  • Adds address verification error test

Pull Request Type

Please select the option(s) that are relevant to this PR.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Improvement (fixing a typo, updating readme, renaming a variable name, etc)

@Justintime50 Justintime50 marked this pull request as ready for review February 28, 2025 18:46
@Justintime50 Justintime50 requested a review from a team as a code owner February 28, 2025 18:46
@Justintime50 Justintime50 merged commit 321a44b into master Feb 28, 2025
6 checks passed
@Justintime50 Justintime50 deleted the error_alternative_format branch February 28, 2025 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants