diff options
Diffstat (limited to 'lib/Minz/ControllerNotExistException.php')
| -rw-r--r-- | lib/Minz/ControllerNotExistException.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Minz/ControllerNotExistException.php b/lib/Minz/ControllerNotExistException.php new file mode 100644 index 000000000..523867d11 --- /dev/null +++ b/lib/Minz/ControllerNotExistException.php @@ -0,0 +1,9 @@ +<?php +class Minz_ControllerNotExistException extends Minz_Exception { + public function __construct ($controller_name, $code = self::ERROR) { + $message = 'Controller `' . $controller_name + . '` doesn\'t exist'; + + parent::__construct ($message, $code); + } +} |
