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

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