Mongo
PHP Manual

Mongo::prevError

(No version information available, might only be in SVN)

Mongo::prevErrorChecks for the last error thrown during a database operation [deprecated]

Description

public array Mongo::prevError ( void )

Use MongoDB::prevError() instead.

Parameters

This function has no parameters.

Return Values

Returns the error and the number of operations ago it occurred.


Mongo
PHP Manual