Skip to content

Instantly share code, notes, and snippets.

@tang9ian
Created November 20, 2014 02:43
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 tang9ian/63023a9e6ecdb9183c37 to your computer and use it in GitHub Desktop.
Save tang9ian/63023a9e6ecdb9183c37 to your computer and use it in GitHub Desktop.
try catch in cfscript
try{
//exectute some code here...
throw(message="cf9+ only for throw in cfscript",detail='the detail for our thrown exception');
catch(any e){
//dump, error log or somethign else here
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment