CFScript: Difference between revisions

Content deleted Content added
Doggum (talk | contribs)
Doggum (talk | contribs)
Line 91:
You do not need to start each line with a comment indicator.
This line is the last line in the comment. */
</pre>
=== Try / Catch ===
<pre>
try {
throw(message="Oops", detail="xyz");
} catch (any e) {
WriteOutput("Error: " & e.message);
rethrow;
} finally {
WriteOutput("I run even if no error");
}
</pre>