lineno = $lineno; $this->filename = $filename; } } /** * Thrown when Twig encounters an exception at runtime in the Twig * core. */ class Twig_RuntimeError extends Twig_Exception { public function __construct($message) { parent::__construct($message); } } /** * Raised if the loader is unable to find a template. */ class Twig_TemplateNotFound extends Twig_Exception { public $name; public function __construct($name) { parent::__construct('Template not found: ' . $name); $this->name = $name; } }