MongoDB\Driver\WriteError
PHP Manual

MongoDB\Driver\WriteError::getMessage

(mongodb >=1.0.0)

MongoDB\Driver\WriteError::getMessageDescription

Description

final public ReturnType MongoDB\Driver\WriteError::getMessage ( void )

Parameters

This function has no parameters.

Return Values

Errors/Exceptions

Examples

Example #1 MongoDB\Driver\WriteError::getMessage() example

<?php

/* ... */

?>

The above example will output something similar to:

...

See Also


MongoDB\Driver\WriteError
PHP Manual