Skip to content

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

@devaguia

Description

@devaguia

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions