Exceptions: Difference between revisions

Content added Content deleted
m (→‎{{header|Sidef}}: updated code)
Line 1,613:
}</syntaxhighlight>
 
An else section on a catch is optional. As of 0.7, youYou can also use else if on a catch.
 
=== exception variable ===
An exception variable may be specified, or you can simply use the implicit variable, which is _err. Prior to 0.7, the implicit exception variable was .err.
 
<syntaxhighlight lang="langur">100 / 0