A windows application requires to return different error codes when there has been a problem while being called from Command Line. I am trying to find an appropiate way to define the error codes. So far I have only found standards related to Operative Systems or HTTP.
For example in Windows: