The MongoDB\Driver\Exception\ServerException class
(mongodb >= 1.5.0)
Introduction
Base class for exceptions thrown by the server. The code of this exception and its subclasses will correspond to the original error code from the server.
Class synopsis
class MongoDB\Driver\Exception\ServerException
extends
MongoDB\Driver\Exception\RuntimeException
implements
MongoDB\Driver\Exception\Exception {
/* Inherited properties */
/* Inherited methods */
final public function MongoDB\Driver\Exception\RuntimeException::hasErrorLabel(string
}$errorLabel): bool来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
