PHP 8.4.0 RC4 available for testing

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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top