Mercurial Hosting > luan
changeset 483:0db144c98564
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 11 May 2015 21:08:33 -0600 |
parents | 7e9fcfbf22ec |
children | 2e17b54e69d9 |
files | website/src/diff.html.luan |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
diff -r 7e9fcfbf22ec -r 0db144c98564 website/src/diff.html.luan --- a/website/src/diff.html.luan Mon May 11 21:05:10 2015 -0600 +++ b/website/src/diff.html.luan Mon May 11 21:08:33 2015 -0600 @@ -99,7 +99,7 @@ <h3 <%=heading_options%> ><a name="error">Error Handling</a></h3> -<p>Luan has the functions <tt>error</tt> and <tt>pcall</tt> but does not have <tt>xpcall</tt>. Luan adds the function <tt>try</tt> which looks and acts like try-catch blocks in other languages.</p> +<p>Luan has the functions <tt>error</tt> and <tt>pcall</tt> but does not have <tt>xpcall</tt>. Luan adds the function <tt>try</tt> which looks and acts like try-catch blocks in other languages. Luan errors are implemented as an error table, not as a message object.</p> <h3 <%=heading_options%> ><a name="meta">Metatables and Metamethods</a></h3>