code: def decodeRPCErrorMsg(e):
      
      found = re.search(
          (
              "(10 assert_exception: Assert Exception\n|"
              "3030000 tx_missing_posting_auth)"
              ".*: (.*)\n"
          ),
          str(e),
          flags=re.M,
      )
      if found:
          return found.group(2).strip()
      else:
          return str(e)
docs: Helper function to decode the raised Exception and give it a
          python Exception class