MongoDB Exceptions
PHP Manual

The MongoDB\Driver\DuplicateKeyException class

(mongodb >=0.2.0)

Giriş

Sınıf Sözdizimi

final MongoDB\Driver\DuplicateKeyException extends MongoDB\Driver\WriteException implements MongoDB\Driver\Exception {
/* Miras alınan özellikler */
protected string $message ;
protected int $code ;
protected string $file ;
protected int $line ;
/* Miras alınan yöntemler */
final public ReturnType MongoDB\Driver\WriteException::getWriteResult ( void )
}

MongoDB Exceptions
PHP Manual