The methods in this document return HRESULT error numbers for error handling. In Visual Basic, these error numbers are returned in the Err object’s Number property.
Financial Management reserves the hexadecimal range of 0x80040200 through 0x8004BFFF for error numbers. Financial Management also reserves the hexadecimal range of 0x8004C000 through 0x8004FFFF for third-party components.
When a method successfully completes, Err.Number returns zero.
Financial Management enables you to obtain simple descriptions of errors that you can display to users and technical error information that can help debug issues. If Financial Management is localized, error messages are also localized. see Error Handling and the HsvResourceManager Type Library.