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

Unformat invalid #122

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

spidergears
Copy link

Ref: #98

fixed with

  • on failure return user specified response
  • on failure response defaults to 0 as in previous versions

on failure return user specified response
on failure response defaults to 0 as in previous versions
@bmode
Copy link

bmode commented Dec 2, 2015

This looks like a good solution to me. My only comment would be to rename the new parameter. The current name, "on_failure", sounds to me like a callback function, which it is not. How about "failure_value" or "failure_result" or something similar?

@spidergears
Copy link
Author

Done!!

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