Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| RequestItemExcedeedAmountException | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace Domain\Request\Exceptions; |
| 4 | |
| 5 | use Symfony\Component\HttpKernel\Exception\HttpException; |
| 6 | |
| 7 | class RequestItemExcedeedAmountException extends HttpException |
| 8 | { |
| 9 | |
| 10 | public function __construct(string $message, \Throwable $previous = null, array $headers = [], int $code = 0) |
| 11 | { |
| 12 | parent::__construct(400, __($message), $previous, $headers, $code); |
| 13 | } |
| 14 | } |