Home/
Manual/
monitoring / commandfailedevent/ MongoDB\Driver\Monitoring\CommandFailedEvent::getError
MongoDB\Driver\Monitoring\CommandFailedEvent::getError
PHP function
Edit on GitHub ✎
(mongodb >=1.3.0)
Returns the Exception associated with the failed command
Description
MongoDB\Driver\Monitoring\CommandFailedEvent::getError(): Exception
Parameters Parameters
Return Values
Returns the Exception associated with the failed command.