mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-11-04 15:36:52 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			552 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			552 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace Pterodactyl\Exceptions\Repository;
 | 
						|
 | 
						|
use Illuminate\Http\Response;
 | 
						|
use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface;
 | 
						|
 | 
						|
class RecordNotFoundException extends RepositoryException implements HttpExceptionInterface
 | 
						|
{
 | 
						|
    /**
 | 
						|
     * Returns the status code.
 | 
						|
     *
 | 
						|
     * @return int
 | 
						|
     */
 | 
						|
    public function getStatusCode()
 | 
						|
    {
 | 
						|
        return Response::HTTP_NOT_FOUND;
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * Returns response headers.
 | 
						|
     *
 | 
						|
     * @return array
 | 
						|
     */
 | 
						|
    public function getHeaders()
 | 
						|
    {
 | 
						|
        return [];
 | 
						|
    }
 | 
						|
}
 |