diff options
Diffstat (limited to 'WpfTest/HttpReturnStatus/InternalServerError.php')
| -rw-r--r-- | WpfTest/HttpReturnStatus/InternalServerError.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/WpfTest/HttpReturnStatus/InternalServerError.php b/WpfTest/HttpReturnStatus/InternalServerError.php deleted file mode 100644 index 0141e26..0000000 --- a/WpfTest/HttpReturnStatus/InternalServerError.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php -namespace WpfTest\HttpReturnStatus; - -use WpfTest\HttpReturnStatus; - -class InternalServerError extends \Exception implements HttpReturnStatus { - public function __construct(\Exception $reason) { - $this->message = $reason->getMessage(); - } - public function httpCode(): int { - return 500; - } - public function httpReason(): string { - return "Internal Server Error"; - } -}
\ No newline at end of file |
