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

Replace MySqlError.Code with ErrorCode #1011

Closed
bgrainger opened this issue Jul 2, 2021 · 1 comment
Closed

Replace MySqlError.Code with ErrorCode #1011

bgrainger opened this issue Jul 2, 2021 · 1 comment
Milestone

Comments

@bgrainger
Copy link
Member

Remove (or [Obsolete]) int MySqlError.Code and replace it with MySqlErrorCode MySqlError.ErrorCode.

This provides a more informative property, and matches MySqlException.ErrorCode.

bgrainger added a commit that referenced this issue Jul 2, 2021
Add documentation.

Will make Code [Obsolete] in a future version.
@bgrainger
Copy link
Member Author

Added the new property in 1.3.11.

@bgrainger bgrainger added this to the 2.0 milestone Oct 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant