Get error text
$pdfdoc
Gets the text of the last thrown exception or the reason for a failed function call.