code: def add_result(self, code, message=None):
          
          self._results.append(Result(code, message))
docs: add a result to the internal result list
  
          arguments:
              same arguments as for Result()