MongoDB\Driver\Monitoring\CommandFailedEvent::getError

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandFailedEvent::getErrorReturns the Exception associated with the failed command

˵��

final public MongoDB\Driver\Monitoring\CommandFailedEvent::getError ( void ) : Exception

����

�˺���û�в�����

����ֵ

Returns the Exception associated with the failed command.

�����쳣