mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 09:19:22 +02:00

* 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>
35 lines
598 B
PHP
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);
|
|
}
|
|
}
|
|
|
|
/**#@-*/
|