pdf_get_errnum

(PECL)

pdf_get_errnum -- Get error number

Description

int pdf_get_errnum ( resource pdfdoc )

Gets the number of the last thrown exception or the reason for a failed function call.