The MongoDB\Driver\Exception\ExecutionTimeoutException class
Guide
Edit on GitHub ✎
Thrown when a query or command fails to complete within a specified time limit (e.g. maxTimeMS).
Intro
Thrown when a query or command fails to complete within a specified time limit (e.g. maxTimeMS).
Class synopsis
class MongoDB\Driver\Exception\ExecutionTimeoutException { }
Changelog
| Version | Description |
|---|---|
| PECL mongodb 1.5.0 | This class now extends MongoDB\Driver\Exception\ServerException instead of MongoDB\Driver\Exception\RuntimeException. |