GetErrorCode Method
See Also Example Applies To
Returns a string with a text description of the error code.
Syntax
object.GetErrorCode (ErrorNumber)
| Part |
Description |
| object |
An object expression that evaluates to an RSSUtility object. |
| ErrorNumber |
Required. A long integer (type Long) which is the error number. |
Remarks
When a special vbRSS error is thrown the following information is passed to the calling application:
- The error code e.g. vbRSS_ERROR_NOTSUPPORTEDINTHISRSSVERSION
- The method name e.g. "vbRSS.dll#Item.cls#Author"
- A comment about the error e.g. "'Author' not supported in Version 0.91 at the RSSItem level."
An example of the code fragment needed is below:
Dim X as New RSSUtility ' The Utility object
Print X.GetErrorCode(vbRSS_ERROR_NOTSUPPORTEDINTHISRSSVERSION)
|