Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
UserSectorDoesNotMatchException
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3namespace Domain\User\Exceptions;
4
5use Symfony\Component\HttpKernel\Exception\HttpException;
6
7class UserSectorDoesNotMatchException 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}