PHP 8.5.0 Beta 3 available for testing

La clase MongoDB\Driver\Exception\ConnectionTimeoutException

(mongodb >= 1.0.0)

IntroducciΓ³n

Lanzada cuando el controlador falla al establecer una conexiΓ³n a la base de datos en un tiempo especificado (connectTimeoutMS) o cuando la selecciΓ³n del servidor falla (serverSelectionTimeoutMS).

Sinopsis de la Clase

final class MongoDB\Driver\Exception\ConnectionTimeoutException extends MongoDB\Driver\Exception\ConnectionException implements MongoDB\Driver\Exception\Exception {
/* Propiedades heredadas */
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;
/* MΓ©todos heredados */
final public Exception::getCode(): int
final public Exception::getFile(): string
final public Exception::getLine(): int
final public Exception::getTrace(): array
}
οΌ‹add a note

User Contributed Notes

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