(mongodb >=1.0.0)
MongoDB\Driver\WriteError::getCode — Description
This function has no parameters.
Example #1 MongoDB\Driver\WriteError::getCode() example
<?php/* ... */?>
The above example will output something similar to:
...