(PECL mongo >=0.9.5)
MongoDB::lastError — Check if there was an error on the most recent db operation performed
This function has no parameters.
Returns the error, if there was one, or NULL.