Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Use separate exceptions and other improvements #34

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

dvdheiden
Copy link
Collaborator

Changes

Added

  • Provide original status code and description when an exception is thrown.
  • Use separate exceptions to catch specific errors. You can keep catching the OxxaException to catch all exceptions of this package.
  • Add fallback to the getData method of the OxxaResult. This allows you to easily fall back to a specific value, i.e. $oxxa->products()->sslProducts()->getData('products', []);
  • Add several error codes regarding domain transfers.

Checks

  • The version constant is updated in Oxxa.php
  • The changelog is updated

@dvdheiden dvdheiden added the enhancement New feature or request label Sep 20, 2024
@dvdheiden dvdheiden self-assigned this Sep 20, 2024
@WilliamDEdwards WilliamDEdwards merged commit e359911 into master Sep 20, 2024
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants