mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 15:34:12 +01:00
20 lines
490 B
PHP
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);
|
|
}
|
|
} |