phplibrary/src/UserMessageException.php

14 lines
No EOL
412 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* Исключение с понятным пользователю сообщением, которое имеет смысл ему показать.
* @see Controller_Front
*/
namespace ctiso;
class UserMessageException extends \Exception {
public $userMessage;
public function __construct($message) {
parent::__construct($message);
$this->userMessage = $message;
}
}