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