Provides additional job error information.
PRL_RESULT PrlJob_GetError( PRL_HANDLE hJob, PRL_HANDLE_PTR phError );
PrlApiCore.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_NO_DATA - no additional error information is available.
PRL_ERR_UNIMPLEMENTED - the functionality is not available for this job type.
PRL_ERR_SUCCESS - function completed successfully.
If a job returned an error code (see PrlJob_GetRetCode), you may call this function to see if additional error information is available. If the information is available, the function returns with PRL_ERR_SUCCESS and obtains a handle of type PHT_EVENT containing the information. To extract the information from the object, use the PrlEvent_GetErrString function.