<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Thanks!<br>
    <br>
    Just to try a very simple run, I changed one letter (on line 24) in
    an otherwise ok block of code so that a function call to an external
    module would fail.  Here's the error message:  {"init terminating in
do_boot",{undef,[{diolib,openINPUTfile,['score.dat'],[]},{readscoretest,main,1,[{file,"readscoretest.erl"},{line,24}]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}<br>
    <br>
    If I wrote a simple error message along these lines, it might say: <i>Line
      24, function diolib:openINPUTfile is undefined.</i><br>
    <br>
    But what is all the other stuff (for example, <i>{init,start_em,1,[]},{init,do_boot,3,[]}]}}</i>)
    trying to say?<br>
    <br>
    Don<br>
    <br>
    <div class="moz-cite-prefix">On 1/5/2019 6.27 PM, T Ty wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJw6s2F_cxKKHuAF60E4KkiHZ0aHDc3rTTpij-gbDCtNcOsw2Q@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Just look at the first line and the last line. One gives
          you the exact file and line that is causing the error, the
          other the reason for the error aka function clause, pattern
          match etc. <br>
        </div>
        <div><br>
        </div>
        <div>If non of the file names on these two lines look
          recognizable its likely you triggered something in your
          gen_server. <br>
        </div>
        <div><br>
        </div>
        <div>A very rough guide. :)<br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Fri, Jan 4, 2019 at 2:22 PM PAILLEAU Eric <<a
            href="mailto:eric.pailleau@wanadoo.fr"
            moz-do-not-send="true">eric.pailleau@wanadoo.fr</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><a
href="https://learnyousomeerlang.com/errors-and-exceptions#run-time-errors"
            rel="noreferrer" target="_blank" moz-do-not-send="true">https://learnyousomeerlang.com/errors-and-exceptions#run-time-errors</a><br>
          <br>
          cheers<br>
          <br>
          Le 04/01/2019 à 13:59, Donald Steven a écrit :<br>
          > Is there a good explanation -- suitable for beginners --
          of the run time <br>
          > error messages?  Undoubtedly they provide a wealth of
          useful <br>
          > information, but they seem so cryptic for newbies.<br>
          > <br>
          > <br>
          > Thanks.<br>
          > <br>
          > <br>
          > Don<br>
          > <br>
          > _______________________________________________<br>
          > erlang-questions mailing list<br>
          > <a href="mailto:erlang-questions@erlang.org"
            target="_blank" moz-do-not-send="true">erlang-questions@erlang.org</a><br>
          > <a
            href="http://erlang.org/mailman/listinfo/erlang-questions"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
          <br>
          _______________________________________________<br>
          erlang-questions mailing list<br>
          <a href="mailto:erlang-questions@erlang.org" target="_blank"
            moz-do-not-send="true">erlang-questions@erlang.org</a><br>
          <a href="http://erlang.org/mailman/listinfo/erlang-questions"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>