mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-02-02 01:21:06 -05:00
* Initial support for PHP 8.2 Using dev image `freshrss/freshrss:latest` https://github.com/FreshRSS/FreshRSS/pull/4420 * Deprecated string interpolation
11 lines
416 B
PHP
11 lines
416 B
PHP
<?php
|
|
class Minz_ActionException extends Minz_Exception {
|
|
public function __construct ($controller_name, $action_name, $code = self::ERROR) {
|
|
// Just for security, as we are not supposed to get non-alphanumeric characters.
|
|
$action_name = rawurlencode($action_name);
|
|
|
|
$message = "Invalid action name “{$action_name}” for controller “{$controller_name}”.";
|
|
parent::__construct ($message, $code);
|
|
}
|
|
}
|