aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/index.html16
1 files changed, 12 insertions, 4 deletions
diff --git a/docs/index.html b/docs/index.html
index 5fe992d..1aeffe9 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -56,7 +56,7 @@
56 56
57<p><br/><font size="-1"><i>Copyright &copy; 2007-12 Asko Kauppi, Benoit Germain. All rights reserved.</i> 57<p><br/><font size="-1"><i>Copyright &copy; 2007-12 Asko Kauppi, Benoit Germain. All rights reserved.</i>
58 <br>Lua Lanes is published under the same <A HREF="http://en.wikipedia.org/wiki/MIT_License">MIT license</A> as Lua 5.1. 58 <br>Lua Lanes is published under the same <A HREF="http://en.wikipedia.org/wiki/MIT_License">MIT license</A> as Lua 5.1.
59 </p><p>This document was revised on 17-Feb-11, and applies to version 3.1.0 59 </p><p>This document was revised on 17-Feb-11, and applies to version 3.1.2
60</font></p> 60</font></p>
61 61
62</center> 62</center>
@@ -431,9 +431,17 @@ Returns <tt>nil</tt> on timeout, <tt>nil,err,stack_tbl</tt> if the lane hit an e
431or the return values of the lane. Unlike in reading the results in table 431or the return values of the lane. Unlike in reading the results in table
432fashion, errors are not propagated. 432fashion, errors are not propagated.
433</p><p> 433</p><p>
434<tt>stack_tbl</tt> is an array of "&lt;filename&gt;:&lt;line&gt;" strings, 434
435describing where the error was thrown. Use <tt>table.concat()</tt> to format 435<table border=1 bgcolor="#E0E0FF" cellpadding=10><tr><td>
436it to your liking (or just ignore it). 436 <code>set_error_reporting("basic"|"extended")</code>
437</table>
438</p><p>
439 Sets the error reporting mode. "basic" is selected by default.
440</p><p>
441 <tt>stack_tbl</tt> is a table describing where the error was thrown.<br/>
442 In extended mode, <tt>stack_tbl</tt> is an array of tables containing info gathered with <tt>lua_getinfo()</tt> (<tt>"source"</tt>,<tt>"currentline"</tt>,<tt>"name"</tt>,<tt>"namewhat"</tt>,<tt>"what"</tt>).<br/>
443In "basic mode", <tt>stack_tbl</tt> is an array of "&lt;filename&gt;:&lt;line&gt;" strings. Use <tt>table.concat()</tt> to format it to your liking (or just ignore it).
444
437</p><p> 445</p><p>
438If you use <tt>:join</tt>, make sure your lane main function returns 446If you use <tt>:join</tt>, make sure your lane main function returns
439a non-nil value so you can tell timeout and error cases apart from succesful 447a non-nil value so you can tell timeout and error cases apart from succesful