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

Implement more specific exception classes #404

Closed
brianmario opened this issue Jul 17, 2013 · 1 comment · Fixed by #911
Closed

Implement more specific exception classes #404

brianmario opened this issue Jul 17, 2013 · 1 comment · Fixed by #911
Milestone

Comments

@brianmario
Copy link
Owner

These should all inherit from Mysql2::Error as the base and should probably each map to one of the codes listed here. Unsure if we need to worry about these as well. Will have to look into that when it comes time.

@simi
Copy link
Contributor

simi commented Jul 30, 2013

@brianmario yes we need both. Do you have any plan how to implement this? Define all error codes as exceptions with error code and find them by error code and raise with error message?

If you'll point me I can try to do this.

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 a pull request may close this issue.

3 participants