Raised when a database operation times out (i.e. wtimeout expires) before replication completes. With newer versions of MongoDB the `details` attribute may include write concern fields like 'n', 'updatedExisting', or 'writtenTo'. .. versionadded:: 2.7
| 258 | |
| 259 | |
| 260 | class WTimeoutError(WriteConcernError): |
| 261 | """Raised when a database operation times out (i.e. wtimeout expires) |
| 262 | before replication completes. |
| 263 | |
| 264 | With newer versions of MongoDB the `details` attribute may include |
| 265 | write concern fields like 'n', 'updatedExisting', or 'writtenTo'. |
| 266 | |
| 267 | .. versionadded:: 2.7 |
| 268 | """ |
| 269 | |
| 270 | @property |
| 271 | def timeout(self) -> bool: |
| 272 | return True |
| 273 | |
| 274 | |
| 275 | class DuplicateKeyError(WriteError): |
no outgoing calls
no test coverage detected