code: def safe_add(a, b):
      
      if isinstance(a, str) and isinstance(b, str) and len(a) + len(b) > MAX_STR_LEN:
          raise RuntimeError("String length exceeded, max string length is {}".format(MAX_STR_LEN))
      return a + b
docs: safe version of add