code4lib / ruby-oai

a Ruby library for building OAI-PMH clients and servers
MIT License
62 stars 43 forks source link

Named exceptions are only used in the provider #50

Closed dmolesUC closed 2 years ago

dmolesUC commented 8 years ago

It would be nice if Response was clever enough to throw, e.g., NoMatchException so clients could just rescue that instead of having to check the code.