LastErrorCategory
Miscellaneous functions
Description
Returns the broad category of the stored error code without clearing that code
Call this function before LastErrorCode when both the category and numeric detail are needed
Syntax
Delphi
Function TPDFlib.LastErrorCategory: TPDFlibErrorCategory;Return values
A TPDFlibErrorCategory value derived from the current numeric error code, or ecSuccess when no error is stored