La classe MongoDB\Driver\Exception\ConnectionException

(mongodb >= 1.0.0)

Introduction

Classe de base pour les exceptions levées lorsque le pilote ne parvient pas à établir une connexion de base de données.

Synopsis de la classe

classMongoDB\Driver\Exception\ConnectionExceptionextendsMongoDB\Driver\Exception\RuntimeExceptionimplementsMongoDB\Driver\Exception\Exception {
protectedstring$message = "";
privatestring$string = "";
protectedint$code;
protectedstring$file = "";
protectedint$line;
privatearray$trace = [];
private?Throwable$previous = null;
finalpublicException::getCode(): int
finalpublicException::getLine(): int
}
To Top