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

Error handler to other type of Exceptions on the get methods #36

Open
devaguia opened this issue Sep 8, 2023 · 0 comments
Open

Error handler to other type of Exceptions on the get methods #36

devaguia opened this issue Sep 8, 2023 · 0 comments

Comments

@devaguia
Copy link
Owner

devaguia commented Sep 8, 2023

The 'get' method, present on the Address, Price, Date and Tracking files, should not generate a fatal error. Instead, she should handler and treat the error using the $errors property.

The get method shoul be able to treat the following Exceptions:

  • InvalidCepException
  • InvalidCorreiosServiceCode
  • MissingProductParamException
  • SameCepException
@devaguia devaguia converted this from a draft issue Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant