Alcaeus\MongoDbAdapter\Tests\ExceptionConverterTest::exceptionProvider PHP Method

exceptionProvider() public method

public exceptionProvider ( )
    public function exceptionProvider()
    {
        return [[new Exception\AuthenticationException('message', 1), 'MongoConnectionException'], [new Exception\BulkWriteException('message', 2), 'MongoCursorException'], [new Exception\ConnectionException('message', 2), 'MongoConnectionException'], [new Exception\ConnectionTimeoutException('message', 2), 'MongoConnectionException'], [new Exception\ExecutionTimeoutException('message', 2), 'MongoExecutionTimeoutException'], [new Exception\InvalidArgumentException('message', 2), 'MongoException'], [new Exception\LogicException('message', 2), 'MongoException'], [new Exception\RuntimeException('message', 2), 'MongoException'], [new Exception\SSLConnectionException('message', 2), 'MongoConnectionException'], [new Exception\UnexpectedValueException('message', 2), 'MongoException'], [new \MongoDB\Exception\BadMethodCallException('message', 2), 'MongoException'], [new \MongoDB\Exception\InvalidArgumentException('message', 2), 'MongoException'], [new \MongoDB\Exception\UnexpectedValueException('message', 2), 'MongoException']];
    }