Skip to content

Instantly share code, notes, and snippets.

Created October 5, 2017 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/64c921693ceafa89ce5f7a22d3071eca to your computer and use it in GitHub Desktop.
Save anonymous/64c921693ceafa89ce5f7a22d3071eca to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
try{
throw(message="Oops", detail="xyz");
}
catch (any e)
{
jsExc = serializejson(e);
}
</cfscript>
<cfoutput>
<textarea rows="40" cols="100">#jsExc#</textarea>
</cfoutput>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment