Php/docs/class.mongodb-driver-writeerror

From Get docs

(mongodb >=1.0.0)

Introduction

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


Class synopsis


final MongoDB\Driver\WriteError {

/* Methods */

final public getCode ( ) : int

final public getIndex ( ) : int

final public getInfo ( ) : object|null

final public getMessage ( ) : string

}

Table of Contents