Should not check errorID with implicit conversion

The original code relies on "no error" being zero in a rather subtle way