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

Change exception type when detaching unattached sources to InvalidRequestError #415

Merged
merged 1 commit into from
Mar 15, 2018

Conversation

ob-stripe
Copy link
Contributor

r? @brandur-stripe
cc @stripe/api-libraries @jleclanche

Changes the exception raised when trying to detach unattached sources from NotImplementedError to stripe.error.InvalidRequestError. This is consistent with other libraries.

Fixes #376.

@ob-stripe ob-stripe mentioned this pull request Mar 15, 2018
7 tasks
@jleclanche
Copy link
Contributor

👍

@brandur-stripe
Copy link
Contributor

Much more sensible.

LGTM.

@ob-stripe ob-stripe merged commit 1d89aba into integration-v2 Mar 15, 2018
@ob-stripe ob-stripe deleted the ob-source-detach-exception branch March 15, 2018 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants