PHP - Manual: MongoDB\Driver\Monitoring\CommandFailedEvent::getError
2024-11-13
(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandFailedEvent::getError — Returns the Exception associated with the failed command
此函数没有参数。
Returns the Exception associated with the failed command.
官方地址:https://www.php.net/manual/en/mongodb-driver-monitoring-commandfailedevent.geterror.php