Files
pterodactyl-panel/app/Exceptions/DisplayException.php
T

14 lines
351 B
PHP
Raw Normal View History

2015-12-06 13:58:49 -05:00
<?php
2016-12-07 22:46:38 +00:00
2026-10-05 18:10:18 -04:00
declare(strict_types=1);
2015-12-06 13:58:49 -05:00
namespace Pterodactyl\Exceptions;
2026-10-11 15:53:06 -04:00
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
2026-10-11 15:53:06 -04:00
/**
* A 400 whose message is shown to the caller. API routes render it as JSON even when
* the request does not ask for JSON (see bootstrap/app.php).
*/
class DisplayException extends BadRequestHttpException {}