Skip to content
This repository has been archived by the owner on Feb 8, 2020. It is now read-only.

Move exceptions to main Bol module #18

Merged
merged 1 commit into from Jun 25, 2013
Merged

Move exceptions to main Bol module #18

merged 1 commit into from Jun 25, 2013

Conversation

tijmenb
Copy link
Contributor

@tijmenb tijmenb commented Jun 25, 2013

Doordat de exceptions pas werden gemaakt in de module, was het niet mogelijk om met Bol::Unavailable te testen voordat de Request module was geladen. Dit was lastig in onze specs.

Ze inheriten nu ook van Bol::ApiError, zodat je alle errors van de gem kan rescueen.

Subclass from ApiError
avdgaag added a commit that referenced this pull request Jun 25, 2013
@avdgaag avdgaag merged commit 01ec8c5 into avdgaag:master Jun 25, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants