Result witj numeric status


#1

Could we have a numeric status for the Result class, just like we have a status message ? So we know that something failed and also know how it failed and there is no need to parse any strings.


#2

If you need a numeric result, why not just return an enum?


#3

Sure i can do that, i just wanted to have a linked structure that holds the text reason and a numeric reason i can easily pack to a network/midi message, and i'm trying to use Result as a return value where i need a status from a method, so that seemed like a good idea.