## DS_C_LIBRARY_ERROR

An instance of OM class DS_C_LIBRARY_ERROR reports an error detected by the interface function library.

An application is not permitted to create or modify instances of this OM class. An instance of this OM class has the OM attributes of its superclasses, OM_C_OBJECT and DS_C_ERROR, and no additional OM attributes.

Each function has several possible errors that can be detected by the library itself and that are returned directly by the subroutine. These errors occur when the library itself is incapable of performing an action, submitting a service request, or deciphering a response from the directory service.

The OM attribute DS_PROBLEM, which is inherited from the superclass DS_C_ERROR, identifies the particular library error that occurred. (In reference pages, the ERRORS section of each function description lists the errors that the respective function can return.) Its value is one of the following:

· DS_E_BAD_ARGUMENT

· DS_E_BAD_CLASS

· DS_E_BAD_CONTEXT

· DS_E_BAD_NAME

· DS_E_BAD_SESSION

· DS_E_MISCELLANEOUS

· DS_E_MISSING_TYPE

· DS_E_MIXED_SYNCHRONOUS

· DS_E_NOT_SUPPORTED

· DS_E_TOO_MANY_OPERATIONS

· DS_E_TOO_MANY_SESSIONS

##