Support #2096
Updated by O'Neil Delpratt about 2 years ago
Requested by user Jeron Bobbeldijk: User mentioned that it would be good for a Java exceptions to trigger a PHP exception. Examples: https://github.com/mongodb/mongo-php-driver/blob/master/exceptions/connection_exception.c https://github.com/mongodb/mongo-php-driver/blob/master/exceptions/connection_exception.h In the PHP extension: zend_throw_exception(mongo_ce_ConnectionException, error_message, 71 TSRMLS_CC);