PHP » GoLang |
login |
register |
about
|
GoLang MongoDB\Driver\WriteError::getMessage
request it (382)
GoLang replacement for PHP's MongoDB\Driver\WriteError::getMessage
[edit | history]
PHP MongoDB\Driver\WriteError::getMessagePHP original manual for MongoDB\Driver\WriteError::getMessage [ show | php.net ]MongoDB\Driver\WriteError::getMessage(mongodb >=1.0.0) MongoDB\Driver\WriteError::getMessage — Returns the WriteError's error message Description
final public string MongoDB\Driver\WriteError::getMessage
( void
)
ParametersThis function has no parameters. Return ValuesReturns the WriteError's error message. Errors/Exceptions
ExamplesExample #1 MongoDB\Driver\WriteError::getMessage() example
<?php The above example will output something similar to: string(70) "E11000 duplicate key error index: db.collection.$_id_ dup key: { : 1 }" |
more
Recently updated
more
Most requested
more
Last requests
|