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.
*/
public function getStatusCode(): int
{
return Response::HTTP_NOT_FOUND;
}
/**
* Returns response headers.
*/
public function getHeaders(): array
{
return [];
}
}