for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Longman\LaravelLodash\Elasticsearch;
use Exception;
class ElasticsearchException extends Exception
{
protected $errors = [];
public function __construct(string $message = '', array $errors = [])
parent::__construct($message);
$this->errors = $errors;
}
public function getErrors(): array
return $this->errors;