Tuesday, July 5, 2011

Can you use try..catch block in user defined functions ?

NO.

http://msdn.microsoft.com/en-us/library/ms175976.aspx
The TRY…CATCH construct cannot be used in a user-defined function.

No comments:

Post a Comment

Dynamic Import in Javascript

  Dynamic Imports If you need to load a function conditionally or on-demand (e.g., inside an  if  block or an event listener), use the  impo...