In the event that we're given an error but what is 0, which is reserved for 'no error', we want to not report a false success. -1 is used if and only if there's no nonzero system-provided error code.