parent root
PHP: MongoDB\Driver\WriteError - Manual

The MongoDB\Driver\WriteError class

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

Table of Contents

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.
To Top
parent root