MongoDB\Driver\WriteError::getInfo

(mongodb >=1.0.0)

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

Beschreibung

final public MongoDB\Driver\WriteError::getInfo ( ) : object|null

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

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

Fehler/Exceptions

  • Throws MongoDB\Driver\InvalidArgumentException on argument parsing errors.