Extensions
This commit is contained in:
27
ext/phpbbstudio/dice/exception/unexpected_value.php
Normal file
27
ext/phpbbstudio/dice/exception/unexpected_value.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* phpBB Studio's Dice extension for the phpBB Forum Software package.
|
||||
*
|
||||
* @copyright (c) 2019 phpBB Studio <https://www.phpbbstudio.com>
|
||||
* @license GNU General Public License, version 2 (GPL-2.0)
|
||||
*/
|
||||
|
||||
namespace phpbbstudio\dice\exception;
|
||||
|
||||
/**
|
||||
* phpBB Studio's Dice UnexpectedValue exception
|
||||
*/
|
||||
class unexpected_value extends base
|
||||
{
|
||||
/**
|
||||
* Translate this exception
|
||||
*
|
||||
* @param \phpbb\language\language $lang Language object
|
||||
* @return string
|
||||
* @access public
|
||||
*/
|
||||
public function get_message(\phpbb\language\language $lang)
|
||||
{
|
||||
return $this->translate_portions($lang, $this->message_full, 'EXCEPTION_UNEXPECTED_VALUE');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user