for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the ONGR package.
*
* (c) NFQ Technologies UAB <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace ONGR\ElasticsearchBundle\Exception;
class BulkWithErrorsException extends \Exception
{
/**
* @var array
protected $response;
* {@inheritdoc}
public function __construct($message = '', $code = 0, \Exception $previous = null, $response = [])
parent::__construct($message, $code, $previous);
$this->response = $response;
}
* @return array
public function getResponse()
return $this->response;