Skip to content

PR-4962: Error cases changes #11

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

Merged
merged 4 commits into from
Feb 27, 2024
Merged

PR-4962: Error cases changes #11

merged 4 commits into from
Feb 27, 2024

Conversation

grgmgd
Copy link
Contributor

@grgmgd grgmgd commented Feb 27, 2024

  • Added new convention for error codes
  • Handled config parsing error by throwing exceptions instead of a fatal error
    NOTE: This PR introduces a breaking change, merchant using the SDK will need to wrap the init call with a do..try statement. Since it's throws exceptions now

@grgmgd grgmgd changed the title PR-4962: Error cases changes PR-4962: Error cases changes Feb 27, 2024
@grgmgd grgmgd requested a review from ngub February 27, 2024 16:11
@grgmgd grgmgd merged commit 2a5a577 into main Feb 27, 2024
@grgmgd grgmgd deleted the PR-4962-new-error-codes branch February 27, 2024 17:39
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.

2 participants