You are here: C++ Support Classes > dtSearch Namespace > Classes > DInputStreamBase Class > DInputStreamBase::setOpenFailInfo Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
DInputStreamBase::setOpenFailInfo Method
Syntax
C++
void setOpenFailInfo(int code, const char * msg);
Parameters
Description
int code
A numeric error code, which can be one of the values in the ErrorCodes enumeration.

If a document could not be opened, use setOpenFailInfo to report the error code and message.