From 4c7bde1400820f36caf8b2a5374007384c3018f3 Mon Sep 17 00:00:00 2001 From: winter Date: Mon, 9 Dec 2024 21:31:54 +0000 Subject: rename to Digitigrade / PawPub :3 --- WpfTest/HttpResponseStatus/InternalServerError.php | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 WpfTest/HttpResponseStatus/InternalServerError.php (limited to 'WpfTest/HttpResponseStatus/InternalServerError.php') diff --git a/WpfTest/HttpResponseStatus/InternalServerError.php b/WpfTest/HttpResponseStatus/InternalServerError.php deleted file mode 100644 index 11b67f3..0000000 --- a/WpfTest/HttpResponseStatus/InternalServerError.php +++ /dev/null @@ -1,23 +0,0 @@ -message = $reason::class . ': ' . $reason->getMessage(); - if (isset($context)) { - $this->message .= " [$context]"; - } - if (GlobalConfig::getInstance()->shouldReportTraces()) { - $this->message .= "\n" . $reason->getTraceAsString(); - } - } - public function httpCode(): int { - return 500; - } - public function httpReason(): string { - return "Internal Server Error"; - } -} \ No newline at end of file -- cgit v1.3