MongoDB\Driver\WriteError::getInfo

Returns additional metadata for the WriteError

Description

final public mixed MongoDB\Driver\WriteError::getInfo ( void )

Parameters

This function has no parameters.

Return Values

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

Errors/Exceptions

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