mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-10-02 06:31:16 +02:00
20 lines
355 B
PHP
20 lines
355 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace Modules\Api\Rest\V1\Controllers;
|
||
|
|
||
|
use CodeIgniter\API\ResponseTrait;
|
||
|
use CodeIgniter\Controller;
|
||
|
use CodeIgniter\HTTP\Response;
|
||
|
|
||
|
class ExceptionController extends Controller
|
||
|
{
|
||
|
use ResponseTrait;
|
||
|
|
||
|
public function notFound(): Response
|
||
|
{
|
||
|
return $this->failNotFound('Podcast not found');
|
||
|
}
|
||
|
}
|