parent root
PHP: MongoDB\Driver\Monitoring\CommandFailedEvent::getError - Manual

MongoDB\Driver\Monitoring\CommandFailedEvent::getError

(mongodb >=1.3.0)

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

Description

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

Parameters

This function has no parameters.

Return Values

Returns the Exception associated with the failed command.

Errors/Exceptions

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.
To Top
parent root