@@ -96,7 +96,7 @@ <h2><a href="#Local_Functions">Local Functions</a></h2>
96
96
< td class ="summary "> Create a memoized version of a single parameter function</ td >
97
97
</ tr >
98
98
< tr >
99
- < td class ="name " nowrap > < a href ="#try "> try (t, c[, f])</ a > </ td >
99
+ < td class ="name " nowrap > < a href ="#try "> try (t[ , c] [, f], ... )</ a > </ td >
100
100
< td class ="summary "> try/catch/finally implemented using coroutine return codes</ td >
101
101
</ tr >
102
102
</ table >
@@ -173,7 +173,7 @@ <h3>Returns:</h3>
173
173
</ dd >
174
174
< dt >
175
175
< a name = "try "> </ a >
176
- < strong > try (t, c[, f])</ strong >
176
+ < strong > try (t[ , c] [, f], ... )</ strong >
177
177
</ dt >
178
178
< dd >
179
179
try/catch/finally implemented using coroutine return codes
@@ -188,14 +188,26 @@ <h3>Parameters:</h3>
188
188
< li > < span class ="parameter "> c</ span >
189
189
< span class ="types "> < span class ="type "> function</ span > </ span >
190
190
function to call if t raises an error
191
+ (< em > optional</ em > )
191
192
</ li >
192
193
< li > < span class ="parameter "> f</ span >
193
194
< span class ="types "> < span class ="type "> function</ span > </ span >
194
195
function to call if t or c succeeds without error
195
196
(< em > optional</ em > )
196
197
</ li >
198
+ < li > < span class ="parameter "> ...</ span >
199
+ Additional parameters that will be passed to < code > t</ code > , < code > c</ code > , and < code > f</ code >
200
+ </ li >
197
201
</ ul >
198
202
203
+ < h3 > Returns:</ h3 >
204
+ < ol >
205
+ < li >
206
+ < span class ="types "> < span class ="type "> bool</ span > </ span >
207
+ Did < code > t</ code > exit without error?</ li >
208
+ < li >
209
+ Error message or successful return value from < code > t</ code > </ li >
210
+ </ ol >
199
211
200
212
201
213
@@ -208,7 +220,7 @@ <h3>Parameters:</h3>
208
220
</ div > <!-- id="main" -->
209
221
< div id ="about ">
210
222
< i > generated by < a href ="http://github.com/lunarmodules/LDoc "> LDoc 1.5.0</ a > </ i >
211
- < i style ="float:right; "> Last updated 2024-09-08 14:28:56 </ i >
223
+ < i style ="float:right; "> Last updated 2024-09-08 19:10:26 </ i >
212
224
</ div > <!-- id="about" -->
213
225
</ div > <!-- id="container" -->
214
226
</ body >
0 commit comments