PHP.mk документација

MongoDB\Driver\Exception\RuntimeException

Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.

class.mongodb-driver-exception-runtimeexception.php PHP.net прокси Преводот се освежува
Оригинал на PHP.net
Патека class.mongodb-driver-exception-runtimeexception.php Локална патека за оваа страница.
Извор php.net/manual/en Оригиналниот HTML се реупотребува и локално се стилизира.
Режим Прокси + превод во позадина Кодовите, табелите и белешките остануваат читливи во истиот тек.
MongoDB\Driver\Exception\RuntimeException

Референца за `class.mongodb-driver-exception-runtimeexception.php` со подобрена типографија и навигација.

class.mongodb-driver-exception-runtimeexception.php

The MongoDB\Driver\Exception\RuntimeException class

(mongodb >= 1.0.0)

Вовед

Thrown when the driver encounters a runtime error (e.g. internal error from » libmongoc).

Синопсис на класата

class MongoDB\Driver\Exception\RuntimeException extends RuntimeException 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 = [];
/* Методи */
final public hasErrorLabel(string $errorLabel): bool
/* Наследени методи */
final public Exception::getCode(): int
final public Exception::getFile(): string
final public Exception::getLine(): int
final public Exception::getTrace(): array
}

Својства

errorLabels

Contains an array of error labels to go with an exception. For example, error labels can be used to detect whether a transaction can be retried safely if the TransientTransactionError label is present. The existence of a specific error label should be tested for with the MongoDB\Driver\Exception\RuntimeException::hasErrorLabel(), instead of interpreting this errorLabels property manually.

Дневник на промени

Верзија = NULL
PECL mongodb 1.6.0

На MongoDB\Driver\Exception\RuntimeException::hasErrorLabel() метод и MongoDB\Driver\Exception\RuntimeException::errorLabels својство е додадено.

Содржина

Белешки од корисници

Нема белешки од корисници за оваа страница.
На оваа страница

Автоматски outline од активната документација.

Насловите ќе се појават тука по вчитување.

Попрегледно читање

Примерите, changelog табелите и user notes се визуелно издвоени за да не се губат во долгата содржина.

Брз совет Користи го outline-от Скокни директно на главните секции од активната страница.
Извор Оригиналниот линк останува достапен Кога ти треба целосен upstream context, отвори го PHP.net во нов tab.