Completed
Push — master ( aec287...fa4c41 )
by
unknown
20s queued 17s
created

ScraperNotExists::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 2
1
<?php
2
namespace Aoe\Asdis\Content\Scraper\Exception;
3
4
/**
5
 * Is thrown when a requested scraper does not exist.
6
 */
7
class ScraperNotExists extends Exception
8
{
9
    /**
10
     * @param string $filterKey
11
     */
12
    public function __construct($filterKey)
13
    {
14
        parent::__construct('Scraper with the key ' . $filterKey . ' does not exist.', 1371818682112);
15
    }
16
}