The MongoDB\Driver\Exception\ExecutionTimeoutException class
(mongodb >= 1.0.0)
Introduction
Thrown when a query or command fails to complete within a specified time limit (e.g. » maxTimeMS).
Class synopsis
final
class MongoDB\Driver\Exception\ExecutionTimeoutException
extends
MongoDB\Driver\Exception\ServerException
implements
MongoDB\Driver\Exception\Exception {
/* Inherited properties */
/* Inherited methods */
final public function MongoDB\Driver\Exception\RuntimeException::hasErrorLabel(string
}$errorLabel): boolChangelog
| Version | Description |
|---|---|
| PECL mongodb 1.5.0 | This class now extends MongoDB\Driver\Exception\ServerException instead of MongoDB\Driver\Exception\RuntimeException. |
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
