La classe MongoDB\Driver\Exception\AuthenticationException

(mongodb >= 1.0.0)

Introduction

Levée lorsque le pilote ne parvient pas à s'authentifier auprès du serveur.

Synopsis de la classe

classMongoDB\Driver\Exception\AuthenticationExceptionextendsMongoDB\Driver\Exception\ConnectionExceptionimplementsMongoDB\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