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

Refactor Exceptions into Transfer Exceptions and OAI-PMH Exceptions #18

Open
caseyamcl opened this issue Mar 2, 2015 · 0 comments
Open
Milestone

Comments

@caseyamcl
Copy link
Owner

Exceptions are getting a little messy. There are basically two types:

  • OaiPmhException - These occur ONLY if a valid PHP OAI-PMH Error is sent back. They may be accompanied by a HTTP Error code, or may be included in a 200 Response.
  • TransferException - These occur for any situation besides when a valid PHP OAI-PMH error is sent, including:
    • standard HTTP errors,
    • malformed responses (mangled or invalid XML),
    • timeouts, etc.

All exceptions should IMPLEMENT (not inherit from) a common interface

@caseyamcl caseyamcl added this to the Version 3.0 milestone Mar 2, 2015
@caseyamcl caseyamcl modified the milestones: Version 3.0, Version 4.0 Oct 15, 2018
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

No branches or pull requests

1 participant