diff options
Diffstat (limited to 'WpfTest/HttpResponseStatus/NoHandlerFound.php')
| -rw-r--r-- | WpfTest/HttpResponseStatus/NoHandlerFound.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/WpfTest/HttpResponseStatus/NoHandlerFound.php b/WpfTest/HttpResponseStatus/NoHandlerFound.php deleted file mode 100644 index 9ceeb0b..0000000 --- a/WpfTest/HttpResponseStatus/NoHandlerFound.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php -namespace WpfTest\HttpResponseStatus; - -use WpfTest\HttpResponseStatus; - -class NoHandlerFound extends \Exception implements HttpResponseStatus { - 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"; - } -}
\ No newline at end of file |
