Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/app/Exceptions/Repository/RecordNotFoundException.php
10284 views
1
<?php
2
3
namespace Pterodactyl\Exceptions\Repository;
4
5
use Illuminate\Http\Response;
6
use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface;
7
8
class RecordNotFoundException extends RepositoryException implements HttpExceptionInterface
9
{
10
/**
11
* Returns the status code.
12
*/
13
public function getStatusCode(): int
14
{
15
return Response::HTTP_NOT_FOUND;
16
}
17
18
/**
19
* Returns response headers.
20
*/
21
public function getHeaders(): array
22
{
23
return [];
24
}
25
}
26
27