Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (34 sloc) 913 Bytes
<?php
/**
* @link https://craftcms.com/
* @copyright Copyright (c) Pixel & Tonic, Inc.
* @license https://craftcms.github.io/license/
*/
namespace craft\web\twig;
use Twig\Error\LoaderError;
/**
* Class TemplateLoaderException
*
* @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
* @since 3.0
*/
class TemplateLoaderException extends LoaderError
{
// Properties
// =========================================================================
/**
* @var string|null
*/
public $template;
// Public Methods
// =========================================================================
/**
* @param string $template The requested template
* @param string $message The exception message
*/
public function __construct(string $template, string $message)
{
$this->template = $template;
parent::__construct($message);
}
}
You can’t perform that action at this time.