Home > PHP > Function > > HaruDoc::resetError()

HaruDoc::resetError()

HaruDoc::resetError - Reset error state of the document handle

Syntax

bool HaruDoc::resetError ()

Arguments

-

Description

Once an error code is set, most of the operations, including I/O processing functions cannot be performed. In case if you want to continue after the cause of the error has been fixed, you have to invoke this function in order to reset the document error state.

Version

PHP PECL haru >= 0.0.1

Return value

Always succeeds and returns TRUE.