RiktaD/php-query

View on GitHub
src/Exception/ItemNotFoundInQueryResultException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

namespace Rikta\PhpQuery\Exception;

use OutOfBoundsException;

class ItemNotFoundInQueryResultException extends OutOfBoundsException implements QueryRuntimeException
{
    public function __construct($index)
    {
        parent::__construct('Item %s not found in QueryResult', $index);
    }
}