The MongoDB\Driver\WriteError class

(mongodb >=1.0.0)

Introducción

The MongoDB\Driver\WriteError class encapsulates information about a write error and may be returned as an array element from MongoDB\Driver\WriteResult::getWriteErrors().

Sinopsis de la Clase

final MongoDB\Driver\WriteError {
/* Métodos */
final public getCode ( void ) : int
final public getIndex ( void ) : int
final public getInfo ( void ) : object|null
final public getMessage ( void ) : string
}

Tabla de contenidos