-
Notifications
You must be signed in to change notification settings - Fork 20
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
Abstract error codes construction #919
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Presently we have three prefixes, "I", "E", "W" with the usual interpretations. But we don't abstract them, we just include them in the error string.
We need to define some enum probably, with these three constants, and then we need to use these constants when forming the error string.
We might also want to define constants for the second portion of the string, which is a two character chunk which has some relation to the problem. For example, in a pool, "DS" stands for "device size".
The text was updated successfully, but these errors were encountered: