Files

26 lines
510 B
PHP
Raw Permalink Normal View History

2015-12-06 13:58:49 -05:00
<?php
namespace Pterodactyl\Exceptions\Repository;
2015-12-06 13:58:49 -05:00
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-10-14 10:59:20 -06:00
public function getStatusCode(): int
{
return Response::HTTP_NOT_FOUND;
}
/**
* Returns response headers.
*/
2022-10-14 10:59:20 -06:00
public function getHeaders(): array
{
return [];
}
2015-12-06 13:58:49 -05:00
}