MongoExecutionTimeoutException
MongoWriteConcernException::getDocument
Exceptions
PHP Manual

# The MongoWriteConcernException class

(PECL mongo >= 1.5.0)

## Introduction

MongoWriteConcernException is thrown when a write fails. See Write Concerns for how to set failure thresholds.

Prior to MongoDB 2.6.0 » GLE would determin when a write failed.

## Class synopsis

MongoWriteConcernException extends MongoCursorException {
/* Inherited properties */
protected string $message ;
protected int $code ;
protected string $file ;
protected int $line ;
/* Methods */
public array getDocument ( void )
/* Inherited methods */
public string MongoCursorException::getHost ( void )
}

## Table of Contents

- MongoWriteConcernException::getDocument — Get the error document

MongoExecutionTimeoutException
MongoWriteConcernException::getDocument
Exceptions
PHP Manual