I want to catch exceptions in javascript if an insertion query is not done.
I have written the code below:
var adoConn = new ActiveXObject(\"ADODB.Co
To be complete, here's the full structure
try { // your code that can throw exception goes here } catch(e) { //do stuff with the exception } finally { //regardless if it worked or not, do stuff here (cleanup?) }