<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 15, 2013 at 1:33 PM, Erik Reitsma <span dir="ltr"><<a href="mailto:erlang@ernovation.com" target="_blank">erlang@ernovation.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div class="im">
<div>On 01/15/2013 10:41 AM, Joe Armstrong
wrote:<br>
</div>
<blockquote type="cite">
<div class="gmail_quote">
<div>Golly - I read the code - you modified error_handler.erl
!!!! <br>
<br>
So what happens is ...<br>
<br>
I call android:fooBar(Args) - fooBar is not defined in
android.erl<br>
so it's caught in error_handler and then
android:rpc(fooBar, [...]) is called<br>
and this ends up as a Json call to a socket -<br>
<br>
</div>
</div>
</blockquote></div>
Yes, that is what happens. <br><div class="im">
<blockquote type="cite">
<div class="gmail_quote">
<div><br></div></div></blockquote></div></div></blockquote><div style>It might interest you to know, that in R16, you can have a handler for</div><div style>undefined functions in each module. (We needed that to implement the parse</div>
<div style>transformation for parameterized modules.)</div><div style><br></div><div style>This new feature has just been merged to the master branch:</div><div style><br></div><div> <a href="https://github.com/erlang/otp/commit/209a479080214ab901116d48b90e91d6c056278d">https://github.com/erlang/otp/commit/209a479080214ab901116d48b90e91d6c056278d</a></div>
<div><br></div><div style>/Bjorn</div><div><br></div></div></div></div>