MongoDB\Driver\WriteConcernError::getMessageReturns the WriteConcernError's error message Description
final public string MongoDB\Driver\WriteConcernError::getMessage
( void
)
ParametersThis function has no parameters. Return ValuesReturns the WriteConcernError's error message. Errors/Exceptions
ExamplesExample #1 MongoDB\Driver\WriteConcernError::getMessage example
<?php The above example will output something similar to: string(33) "waiting for replication timed out" See Also |