Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: error parsing #320

Merged
merged 8 commits into from
Feb 28, 2025
Merged

fix: error parsing #320

merged 8 commits into from
Feb 28, 2025

Conversation

Justintime50
Copy link
Member

@Justintime50 Justintime50 commented Feb 21, 2025

Description

  • Fixes error parsing
    • Allows for alternative format of errors field
    • Corrects available properties of an EasyPostError and ApiError (code and field removed from EasyPostError, message unfurled and explicitly added to ApiError)
    • Removes unused Error model

Testing

  • Adds real (missing from this lib for whatever reason) error tests that are the same as other libs
  • 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)

Sorry, something went wrong.

@Justintime50 Justintime50 marked this pull request as ready for review February 28, 2025 18:45
@Justintime50 Justintime50 requested a review from a team as a code owner February 28, 2025 18:45
@Justintime50 Justintime50 merged commit 16a72ae into master Feb 28, 2025
9 checks passed
@Justintime50 Justintime50 deleted the fix_error_handling branch February 28, 2025 23:10
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.

None yet

3 participants