'Returns a string to be used as the response code for the
erring command.'

def response(self):

    return self.template.substitute({'resp': RESP_ERR, 'code': self.code, 'index': self.index, 'cmd_name': self.cmd_name, 'message': self.message})
