Skip to content

Commit 5a4778f

Browse files
committed
PHPC-163: Throw BulkWriteException on BulkWrite failure
For execute[Insert|Update|Delete]() we unroll the BulkWrite exception and throw the inner errors. Note: WriteConcern failure now throws WriteConcernException!
1 parent 633af55 commit 5a4778f

13 files changed

+470
-299
lines changed

config.m4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ if test "$PHONGO" != "no"; then
197197
src/MongoDB/ExecutionTimeoutException.c \
198198
src/MongoDB/ConnectionTimeoutException.c \
199199
src/MongoDB/WriteException.c \
200+
src/MongoDB/WriteConcernException.c \
201+
src/MongoDB/BulkWriteException.c \
200202
";
201203

202204
YAJL_SOURCES="\

0 commit comments

Comments
 (0)