public static function create(string $index): TemplateNotFoundException
    {
        $template = 'Template with \'%s\' index was not found. Did you provide all required templates?';
        $message = sprintf($template, $index);

        return new static($message);
    }