6
In Visual Basic 6 there was the command err.number
where the error code is demonstrated.
I have a C# app that we treat Exception by the description of the message because I did not find the command that returns the error code. I have a problem because one of the machines has been changed the operating system to the message from Exception is returning in English and the treatment I have is in Portuguese.
Is there a command that returns the error code?
I found that there is one that displays the type of error, but from what I understand it may be a set of errors related to the type.
What kind of error does it refer to? Who generates it? There is not always an error with an associated number/code.
– ramaral
(...) that distinguishes it unequivocally.
– ramaral