Hacker News new | ask | show | jobs
by RandomChance 1688 days ago
I learned recently that Windows has system error codes for process errors: https://docs.microsoft.com/en-us/windows/win32/debug/system-...

A coworker mentioned that programs should return internal state information using codes < 0, but I have not fact checked that.