mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-01-16 18:04:34 -05:00
20 lines
395 B
PHP
20 lines
395 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Gazelle;
|
|
|
|
class Error500 extends Error {
|
|
public static function errorCode(): int {
|
|
return 500;
|
|
}
|
|
|
|
public static function errorLabel(): string {
|
|
return 'Server Error';
|
|
}
|
|
|
|
public static function errorDescription(): string {
|
|
return "This one's on us, it looks like you tripped over a bug in the code.";
|
|
}
|
|
}
|