mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-01-23 04:38:01 -05:00
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);
|
|
}
|
|
}
|