MongoDB\Driver\AuthenticationException
MongoDB\Driver\WriteException::getWriteResult
MongoDB Exceptions
PHP Manual

# The MongoDB\Driver\WriteException class

(mongodb >=0.2.0)

## Introduction

## Class synopsis

MongoDB\Driver\WriteException extends MongoDB\Driver\RuntimeException implements MongoDB\Driver\Exception {
/* Properties */
protected $writeResult ;
/* Inherited properties */
protected string $message ;
protected int $code ;
protected string $file ;
protected int $line ;
/* Methods */
final public ReturnType getWriteResult ( void )
/* Inherited methods */
final public string Exception::getMessage ( void )
final public Exception Exception::getPrevious ( void )
final public mixed Exception::getCode ( void )
final public string Exception::getFile ( void )
final public int Exception::getLine ( void )
final public array Exception::getTrace ( void )
final public string Exception::getTraceAsString ( void )
public string Exception::__toString ( void )
final private void Exception::__clone ( void )
}

## Properties

writeResult

## Table of Contents

- MongoDB\Driver\WriteException::getWriteResult — Description

MongoDB\Driver\AuthenticationException
MongoDB\Driver\WriteException::getWriteResult
MongoDB Exceptions
PHP Manual