The MongoDB\Driver\WriteError class

(mongodb >=1.0.0)

¼ò½é

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

ÀàÕªÒª

final MongoDB\Driver\WriteError {
/* ·½·¨ */
final public int getCode ( void )
final public int getIndex ( void )
final public mixed getInfo ( void )
final public string getMessage ( void )
}

Table of Contents