Newer
Older
framework / system / Security / Exceptions / SecurityException.php
@Jim Parry Jim Parry on 1 Dec 2018 339 bytes Release 4.0.0-alpha.3
<?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);
	}
}