MongoDB\Driver\WriteError::getInfo

(mongodb >=1.0.0)

MongoDB\Driver\WriteError::getInfoReturns metadata document for the WriteError

Description

final public 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