mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00
20 lines
373 B
PHP
20 lines
373 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Modules\Api\Rest\V1\Controllers;
|
|
|
|
use CodeIgniter\API\ResponseTrait;
|
|
use CodeIgniter\Controller;
|
|
use CodeIgniter\HTTP\ResponseInterface;
|
|
|
|
class ExceptionController extends Controller
|
|
{
|
|
use ResponseTrait;
|
|
|
|
public function notFound(): ResponseInterface
|
|
{
|
|
return $this->failNotFound('Podcast not found');
|
|
}
|
|
}
|