PHP 클래스 MongoWriteConcernException

상속: extends MongoCursorException
파일 보기 프로젝트 열기: alcaeus/mongo-php-adapter

공개 메소드들

메소드 설명
__construct ( string $message = '', integer $code, Exception $previous = null, null $document = null ) MongoWriteConcernException constructor.
getDocument ( ) : array Get the error document

메소드 상세

__construct() 공개 메소드

MongoWriteConcernException constructor.
public __construct ( string $message = '', integer $code, Exception $previous = null, null $document = null )
$message string
$code integer
$previous Exception
$document null

getDocument() 공개 메소드

Get the error document
public getDocument ( ) : array
리턴 array

A MongoDB document, if available, as an array.