This commit is contained in:
Tim Nagel 2014-04-25 21:31:04 +10:00
commit 15d3f1e4f8
23 changed files with 912 additions and 13 deletions

View file

@ -0,0 +1,15 @@
<?php
namespace FOS\ElasticaBundle\Exception;
use Exception;
class MissingModelException extends \Exception
{
public function __construct($modelCount, $resultCount)
{
$message = sprintf('Expected to have %d models, but the lookup returned %d results', $resultCount, $modelCount);
parent::__construct($message);
}
}