CakeFest 2024: The Official CakePHP Conference

Класс MongoDB\Driver\Exception\CommandException

(mongodb >= 1.5.0)

Введение

Выбрасывается, в случае возникновения ошибки команды.

Обзор классов

abstract class MongoDB\Driver\Exception\CommandException extends MongoDB\Driver\Exception\ServerException implements MongoDB\Driver\Exception\Exception {
/* Свойства */
/* Наследуемые свойства */
protected ?array $errorLabels;
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* Методы */
final public getResultDocument(): object
/* Наследуемые методы */
final public Exception::getCode(): int
final public Exception::getFile(): string
final public Exception::getLine(): int
final public Exception::getTrace(): array
}

Свойства

resultDocument

Документ результата, связанный с неудачной командой.

Содержание

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top