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

improve and document cassandra errors #47

Merged
merged 1 commit into from
Mar 25, 2015

Conversation

thibaultcha
Copy link
Contributor

Hi @jbochi! What do you think about those changes:

  • concatenable cassandra errors (+ tests)
  • errors accept integer error code (not translation)
  • create cassandra_errors constants so 1) users can compare error codes against
    constants defined by the module and 2) comparisons are integers
    instead of strings
  • error_code_translations: for the error message
  • document cassandra errors in README

Also, would you like to setup a Gitter chat for this project to occasionally talk on it?

- concatenable cassandra errors (+ tests)
- errors accept integer error code (not translation)
- create error constants so 1) users can compare error codes against
  constants defined by the module and 2) comparisons are integers
  instead of strings
- error_code_translations: for the error message
- document cassandra errors in README
@coveralls
Copy link

Coverage Status

Coverage increased (+0.22%) to 92.84% when pulling e03754b on thibaultCha:improve-errors into cd70ebf on jbochi:master.

@thibaultcha
Copy link
Contributor Author

Do you disapprove those changes @jbochi ?

jbochi added a commit that referenced this pull request Mar 25, 2015
improve and document cassandra errors
@jbochi jbochi merged commit 3002cbb into jbochi:master Mar 25, 2015
@jbochi
Copy link
Owner

jbochi commented Mar 25, 2015

Sorry for taking so long. I've been very busy this week. These changes make a lot of sense.

Thanks for your contribution.

@thibaultcha
Copy link
Contributor Author

Could you deploy this version @jbochi? That'd be great so we can handle our errors better in Kong! ;)

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

Successfully merging this pull request may close these issues.

3 participants