mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-04-02 22:32:12 +02:00
17 lines
298 B
PHP
17 lines
298 B
PHP
<?php
|
|
|
|
namespace MongoDB\Write;
|
|
|
|
interface WriteError extends \MongoDB\ServerError
|
|
{
|
|
/**
|
|
* @return integer Batch index of the error
|
|
*/
|
|
function getIndex();
|
|
|
|
/**
|
|
* @return array|object Operation or document responsible for the error
|
|
*/
|
|
function getOperation();
|
|
}
|