2014-08-28 18:59:58 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FOS\ElasticaBundle\Exception;
|
|
|
|
|
|
|
|
class AliasIsIndexException extends \Exception
|
|
|
|
{
|
|
|
|
public function __construct($indexName)
|
|
|
|
{
|
2015-03-13 14:51:07 +01:00
|
|
|
parent::__construct(sprintf('Expected %s to be an alias but it is an index.', $indexName));
|
2014-08-28 18:59:58 +02:00
|
|
|
}
|
|
|
|
}
|