479
479
def _process_error(self, data=None, builds=None, informational=None,
480
480
errors=None, reason="Validation"):
481
481
"""Set up the response and json data to return to the caller."""
483
483
self.request.response.setHeader('Content-type', 'application/json')
484
484
return_data = dict(builds=builds, errors=errors)