Files
pterodactyl-panel/app/Exceptions/Repository/RecordNotFoundException.php
T

30 lines
552 B
PHP
Raw 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.
*
* @return int
*/
public function getStatusCode()
{
return Response::HTTP_NOT_FOUND;
}
/**
* Returns response headers.
*
* @return array
*/
public function getHeaders()
{
return [];
}
2015-12-06 13:58:49 -05:00
}