MongoDB\Driver\WriteError::getInfo
(mongodb >=1.0.0)
MongoDB\Driver\WriteError::getInfo — Returns metadata document for the WriteError
Description
Parameters
This function has no parameters.
Return Values
Returns the metadata document for the WriteError, or null
if no metadata is
available.
Errors/Exceptions
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.