Name
doc:GetError -- get last error code
Synopsis
status = doc:GetError()
Function
doc:GetError() returns the last error code of specified document object.

Note that some functions also set a detailed error code. doc:GetErrorDetail() can be used to get this detailed error code.

Returns the last error code of document object, or #HPDF_OK if no last error.

Inputs
none

Results
status
status code
Errors
#HPDF_INVALID_DOCUMENT - An invalid document handle is set.


Show TOC