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 getCode ( void ) : int
final public getIndex ( void ) : int
final public getInfo ( void ) : mixed
final public getMessage ( void ) : string
}

Table of Contents