blob: d914ca29ce6897811c41d9537eb83bec1873a160 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
namespace WpfTest\HttpReturnStatus;
use WpfTest\HttpReturnStatus;
class NoHandlerFound extends \Exception implements HttpReturnStatus {
public function __construct(string $path) {
$this->message = "No handler found for path $path";
}
public function httpCode(): int {
return 404;
}
public function httpReason(): string {
return "Not Found";
}
}
|