PHP 7.2.0 Release Candidate 4 Released

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

Table of Contents

add a note add a note

User Contributed Notes

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