Clarify definition of an error in ResultCode