MongoDB Exceptions
PHP Manual

La classe MongoDB\Driver\DuplicateKeyException

(mongodb >=0.2.0)

Introduction

Synopsis de la classe

final MongoDB\Driver\DuplicateKeyException extends MongoDB\Driver\WriteException implements MongoDB\Driver\Exception {
/* Propriétés héritées */
protected string $message ;
protected int $code ;
protected string $file ;
protected int $line ;
/* Méthodes héritées */
final public ReturnType MongoDB\Driver\WriteException::getWriteResult ( void )
}

MongoDB Exceptions
PHP Manual