Mongo
PHP Manual

Mongo::prevError

(PECL mongo >=0.9.0)

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

Descrição

public array Mongo::prevError ( void )

Parâmetros

Esta função não contém parâmetros.

Valor Retornado

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


Mongo
PHP Manual