diff options
Diffstat (limited to 'phpBB/phpbb/extension/exception.php')
-rw-r--r-- | phpBB/phpbb/extension/exception.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/phpBB/phpbb/extension/exception.php b/phpBB/phpbb/extension/exception.php new file mode 100644 index 0000000000..3f7d251a4e --- /dev/null +++ b/phpBB/phpbb/extension/exception.php @@ -0,0 +1,25 @@ +<?php +/** +* +* This file is part of the phpBB Forum Software package. +* +* @copyright (c) phpBB Limited <https://www.phpbb.com> +* @license GNU General Public License, version 2 (GPL-2.0) +* +* For full copyright and license information, please see +* the docs/CREDITS.txt file. +* +*/ + +namespace phpbb\extension; + +/** + * Exception class for metadata + */ +class exception extends \UnexpectedValueException +{ + public function __toString() + { + return $this->getMessage(); + } +} |