Files
iTop/sources/Forms/FormsException.php
2025-11-07 11:24:31 +01:00

20 lines
490 B
PHP

<?php
/*
* @copyright Copyright (C) 2010-2025 Combodo SARL
* @license http://opensource.org/licenses/AGPL-3.0
*/
namespace Combodo\iTop\Forms;
use Exception;
use IssueLog;
use Throwable;
class FormsException extends Exception
{
public function __construct(string $message = '', int $code = 0, ?Throwable $previous = null, array $aContext = [])
{
parent::__construct($message, $code, $previous);
IssueLog::Exception(get_class($this).' occurs', $this, null, $aContext);
}
}