Visual Studio 2015
Returns a description for the exception type.
function GetRuntimeErrorDesc( strRuntimeErrorName );
The name of the type of exception that has occurred.
A description of the exception type.
Returns a description for the exception type. Can be one of the following exception types:
|ConversionError||Occurs whenever there is an attempt to convert an object into something to which it cannot be converted.|
|RangeError||Occurs when a function is supplied with an argument that has exceeded its allowable range. For example, this error occurs if you attempt to construct an |
|ReferenceError||Occurs when an invalid reference has been detected. This error will occur, for example, if an expected reference is null.|
|RegExpError||Occurs when a compilation error occurs with a regular expression. Once the regular expression is compiled, this error cannot occur. This example will occur, for example, when a regular expression is declared with a pattern that has an invalid syntax, or flags other than i, g, or m, or if it contains the same flag more than once.|
|SyntaxError||Occurs when source text is parsed and that source text does not follow correct syntax. This error will occur, for example, if the |
|TypeError||Occurs whenever the actual type of an operand does not match the expected type. An example of when this error occurs is a function call made on something that is not an object or does not support the call.|
|URIError||Occurs when an illegal Uniform Resource Indicator (URI) is detected. For example, this is error occurs when an illegal character is found in a string being encoded or decoded.|