FOSElasticaBundle/Exception/UnexpectedObjectException.php
Tim Nagel 15d3f1e4f8 New Api
2014-04-25 21:31:04 +10:00

13 lines
259 B
PHP

<?php
namespace FOS\ElasticaBundle\Exception;
use Exception;
class UnexpectedObjectException extends \Exception
{
public function __construct($id)
{
parent::__construct(sprintf('Lookup returned an unknown object with id %d', $id));
}
}