Handling unexpected processing
While this recipe will most likely not introduce you to anything specific to Dynamics CRM, the error-handling procedures described here are specific to the JavaScript language and can easily be applied in the context of Dynamics CRM. Full support of the JavaScript try/catch exception-handler block was introduced around the release of Internet Explorer Version 6.
JavaScript defines six standard and one custom error type to allow you to throw your own customized exceptions. They are given in the following table:
Error |
Details |
---|---|
|
This error occurs while encoding or decoding an URI. It is not a common occurrence in Dynamics CRM. |
|
This error occurs when the number is out of range. It has a quite ... |
Get Microsoft Dynamics CRM 2011 Scripting Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.