Esempio n. 1
0
 protected void finish(UberApiErrorRequestFailedJSON result)
 {
     if (fieldGeneratorErrors.have_value)
     {
         result.setErrors(fieldGeneratorErrors.value);
         fieldGeneratorErrors.have_value = false;
     }
     else if ((!(result.hasErrors())) && !allow_incomplete)
     {
         error("When parsing the object for %what%, the \"Errors\" field was missing.");
     }
     base.finish(result);
 }