Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<MongoDB\Driver\WriteError::getIndexMongoDB\Driver\WriteError::getMessage>
^MongoDB\Driver\WriteErrorLast updated: Mon, 26 Oct 2026

MongoDB\Driver\WriteError::getInfo

(mongodb >=1.0.0)

MongoDB\Driver\WriteError::getInfo — Returns metadata document for the WriteError

Description

final public function MongoDB\Driver\WriteError::getInfo(): ?object

Parameters

This function has no parameters.

Return Values

Returns the metadata document for the WriteError, or null if no metadata is available.

Errors/Exceptions


<MongoDB\Driver\WriteError::getIndexMongoDB\Driver\WriteError::getMessage>
^MongoDB\Driver\WriteErrorLast updated: Mon, 26 Oct 2026