code: def response_error(response):
      "Parse an error response"
      response = response.split(' ')
      error_code = response[0]
      if error_code not in EXCEPTION_CLASSES:
          error_code = 'ERR'
      response = ' '.join(response[1:])
      return EXCEPTION_CLASSES[error_code](responsef response_error(response):
      "Parse an error response"
      response = response.split(' ')
      error_code = response[0]
      if error_code not in EXCEPTION_CLASSES:
          error_code = 'ERR'
      response = ' '.join(response[1:])
      return EXCEPTION_CLASSES[error_code](response)
docs: Parse an error response