-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
ErrorCode in IscException as an enum #1145
Comments
|
Thank you for answer but end-programmers would use By the way, I guess I have a better idea - I would just make the enum itself, and leave |
Sure. But you would have to change it in
I think the best solution would be to have something like |
Fairly good idea but instead of bunch of fields, I would give one field of enum type. |
That would require explicit cast to enum. |
I have noticed that ErrorCode property in IscException can be changed to enum to make referring to the constants more readable. However, I am not sure it is a good idea, since it may break systems depending on .NET Provider too much.
I am going to refer to this doc:
https://www.firebirdsql.org/pdfrefdocs/Firebird-2.1-ErrorCodes.pdf
The text was updated successfully, but these errors were encountered: