PHP Conference Japan 2024

MongoDB\Driver\Exception\AuthenticationException 類別

(mongodb >= 1.0.0)

簡介

當驅動程式無法通過伺服器驗證時拋出。

類別概要

class MongoDB\Driver\Exception\AuthenticationException extends MongoDB\Driver\Exception\ConnectionException implements MongoDB\Driver\Exception\Exception {
/* 繼承的屬性 */
保護的 ?陣列 $errorLabels;
保護的 字串 $message = "";
私有的 字串 $string = "";
保護的 整數 $code;
保護的 字串 $file = "";
保護的 整數 $line;
私有的 陣列 $trace = [];
私有的 ?Throwable $previous = null;
/* 繼承的方法 */
最終 公開的 Exception::getMessage(): 字串
最終 公開的 Exception::getCode(): 整數
最終 公開的 Exception::getFile(): 字串
最終 公開的 Exception::getLine(): 整數
最終 公開的 Exception::getTrace(): 陣列
}
新增註解

使用者貢獻的註解

此頁面沒有使用者貢獻的註解。
To Top