Whenever you call a Content Deployment method or get or set a Content Deployment property, you should check the Err Object’s number property for an error code. If the method or property was successful, Content Deployment sets the value of number to 0.
For example:
if (Err.Number <> 0) then
Wscript.Echo "Error : " & Err.Number
Wscript.Echo "Description: " & Err.Description
end if
Note that Content Deployment makes internal calls to other programming APIs, including COM, Security/ACL, Registry, Winsock, Service Manager, and Win32. These APIs can return error codes in addition to the given Content Deployment error codes.
The high nibble of the Error ID indicates the severity of the error.
Nibble | Severity |
4 | Informational |
8 | Warning |
C | Error |