class_docstr: Error indicated ASK error received from cluster.
  When a slot is set as MIGRATING, the node will accept all queries that
  pertain to this hash slot, but only if the key in question exists,
  otherwise the query is forwarded using a -ASK redirection to the node that
  is target of the migration.
  
  src node: MIGRATING to dst node
      get > ASK error
      ask dst node > ASKING command
  dst node: IMPORTING from src node
      asking command only affects next command
      any op will be allowed after asking command
class_docstr_tok: ["Error","indicated","ASK","error","received","from","cluster",".","When","a","slot","is","set","as","MIGRATING",",","the","node","will","accept","all","queries","that","pertain","to","this","hash","slot",",","but","only","if","the","key","in","question","exists",",","otherwise","the","query","is","forwarded","using","a","-ASK","redirection","to","the","node","that","is","target","of","the","migration",".","src","node",":","MIGRATING","to","dst","node","get",">","ASK","error","ask","dst","node",">","ASKING","command","dst","node",":","IMPORTING","from","src","node","asking","command","only","affects","next","command","any","op","will","be","allowed","after","asking","command"]
docstr: should only redirect to master node
docstr_tok: ["should","only","redirect","to","master","node"]
code: def __init__(self, resp):
      """should only redirect to master node"""
      self.args = (resp,)
      self.message = resp
      slot_id, new_node = resp.split(" ")
      host, port = new_node.rsplit(":", 1)
      self.slot_id = int(slot_id)
      self.node_addr = self.host, self.port = host, int(port)
  
label_desc: Use image node_id 1 to create a new AskError object from inherited base classes: ResponseError with example: obj = AskError(resp)