code: def _parse_ftp_error(error):
      # type: (ftplib.Error) -> Tuple[Text, Text]
      
      code, _, message = text_type(error).partition(" ")
      return code, message
docs: Extract code and message from ftp error.