Repository Errors

Meta Data Services Programming

Meta Data Services Programming

Repository Errors

Repository errors are errors returned by the methods of repository interfaces. Repository error objects are described as REPOSERROR data structures.

All methods of repository interfaces return an HRESULT value that indicates whether the method successfully performed its function. The facility field of these HRESULT values is always set to FACILITY_ITF; this indicates that the meaning for any given error code value is specific to the interface from which the error is being reported. All of the standard repository interfaces (that is, interfaces that are automatically supplied with the repository API) use the same set of error codes. These codes are listed in numerical order and in alphabetical order. For more information, see Repository Errors (Numerical Order) and Repository Errors (Alphabetical Order).

See Also

Error Handling Overview

Handling Errors

REPOSERROR Data Structure