GoLang MongoDB\Driver\Monitoring\CommandFailedEvent::getError

request it (343)
GoLang replacement for PHP's MongoDB\Driver\Monitoring\CommandFailedEvent::getError [edit | history]



Do you know a GoLang replacement for PHP's MongoDB\Driver\Monitoring\CommandFailedEvent::getError? Write it!

PHP MongoDB\Driver\Monitoring\CommandFailedEvent::getError

PHP original manual for MongoDB\Driver\Monitoring\CommandFailedEvent::getError [ show | php.net ]

MongoDB\Driver\Monitoring\CommandFailedEvent::getError

(mongodb >=1.3.0)

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

Description

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

Parameters

This function has no parameters.

Return Values

Returns the Exception associated with the failed command.

Errors/Exceptions