mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 23:44:11 +01:00
17 lines
451 B
PHP
17 lines
451 B
PHP
<?php
|
|
/*
|
|
* @copyright Copyright (C) 2010-2023 Combodo SARL
|
|
* @license http://opensource.org/licenses/AGPL-3.0
|
|
*/
|
|
|
|
/**
|
|
* @since 3.0.0 N°3522
|
|
*/
|
|
class CoreTemplateException extends CoreException
|
|
{
|
|
public function __construct(Exception $oTwigException, string $sTemplatePath)
|
|
{
|
|
$sMessage = "Twig Exception when rendering '$sTemplatePath' : ".$oTwigException->getMessage();
|
|
parent::__construct($sMessage, null, '', $oTwigException);
|
|
}
|
|
} |