13 lines
244 B
PHP
13 lines
244 B
PHP
<?php
|
|
|
|
namespace FOS\ElasticaBundle\Exception;
|
|
|
|
class AliasIsIndexException extends \Exception
|
|
{
|
|
public function __construct($indexName)
|
|
{
|
|
parent::__construct(sprintf('Expected alias %s instead of index', $indexName));
|
|
}
|
|
}
|
|
|