This methods sets error attributes of an external method object.

def getErrorResponse(self, errorCode, errorDescr):
		""" This methods sets error attributes of an external method object. """
		self.errorCode = errorCode
		self.errorDescr = errorDescr
		self.response = "yes"
		return self