myaac/system/libs/pot/E_OTS_ErrorCode.php
SRNT-GG 8d10082179
WIP - Removing unneccessary closing tags to prevent potential issues. (#223)
* Part 1

Removing closing tags when no HTML or other output comes after the last PHP codeblock.

* Further removals

* nothing

---------

Co-authored-by: slawkens <slawkens@gmail.com>
2023-06-15 20:53:55 +02:00

35 lines
598 B
PHP

<?php
/**#@+
* @version 0.1.2
* @since 0.0.6
*/
/**
* @package POT
* @author Wrzasq <wrzasq@gmail.com>
* @copyright 2007 (C) by Wrzasq
* @license http://www.gnu.org/licenses/lgpl-3.0.txt GNU Lesser General Public License, Version 3
*/
/**
* Generic exception class for error codes.
*
* @package POT
*/
class E_OTS_ErrorCode extends Exception
{
/**
* Sets error code.
*
* @param int $code Error code.
* @param string $message Optional error message.
*/
public function __construct($code, $message = '')
{
parent::__construct($message, $code);
}
}
/**#@-*/