misc_pterodactyl-panel/app/Exceptions/Repository/RecordNotFoundException.php

26 lines
510 B
PHP
Raw Normal View History

<?php
namespace Pterodactyl\Exceptions\Repository;
use Illuminate\Http\Response;
use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface;
class RecordNotFoundException extends RepositoryException implements HttpExceptionInterface
2016-12-07 22:46:38 +00:00
{
/**
* Returns the status code.
*/
2022-02-26 16:15:20 +00:00
public function getStatusCode(): int
{
return Response::HTTP_NOT_FOUND;
}
/**
* Returns response headers.
*/
2022-02-26 16:15:20 +00:00
public function getHeaders(): array
{
return [];
}
}