forInvalidFile()
forInvalidFile(\CodeIgniter\Exceptions\string $path)
Parameters
\CodeIgniter\Exceptions\string | $path |
Class FrameworkException
A collection of exceptions thrown by the framework that can only be determined at run time.
<?php namespace CodeIgniter\Security\Exceptions;
use CodeIgniter\Exceptions\ExceptionInterface;
use CodeIgniter\Exceptions\FrameworkException;
class SecurityException extends FrameworkException implements ExceptionInterface
{
public static function forDisallowedAction()
{
return new static(lang('HTTP.disallowedAction'), 403);
}
}