Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
| HttpNotFoundException | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getStatusCode | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | namespace Apie\Core\Exceptions; |
| 3 | |
| 4 | class HttpNotFoundException extends ApieException implements HttpStatusCodeException |
| 5 | { |
| 6 | public function __construct(string $message = "Not Found") |
| 7 | { |
| 8 | parent::__construct($message); |
| 9 | } |
| 10 | |
| 11 | public function getStatusCode(): int |
| 12 | { |
| 13 | return 404; |
| 14 | } |
| 15 | } |