Hi,
What is the accepted way of generating/storing/accessing a large list of user errors when programming in VB.NET?
I have a many errors that I would like to report if they occur. I have the error headings, and descriptions in a list that correspond to a hex code.
I could build two string arrays, but I figured that's not the appropriate method of doing something like this and then there would have to be many blank entries where the hex code doesn't correspond to a valid error code. I could also do a very large case statement, but again, I'm not sure that's the appropriate method of doing this. I could build a table in runtime and do a search for the hex code and then display the corresponding columns.
I couldn't figure out what is the accepted procedure for doing this. Can someone please tell me what the correct approach is to error reporting in VB.NET, with regard to storing the error information.
Thanks,
Marco