Skip to content

Commit f9a8a67

Browse files
committed
PHPC-2349: Deprecate WriteException class
1 parent 7000993 commit f9a8a67

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/MongoDB/Exception/WriteException.stub.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
namespace MongoDB\Driver\Exception;
99

10+
/** @deprecated use MongoDB\Driver\Exception\BulkWriteException instead */
1011
abstract class WriteException extends RuntimeException
1112
{
1213
/** @var \MongoDB\Driver\WriteResult */

src/MongoDB/Exception/WriteException_arginfo.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)