# profile-builder/2.0.2/assets/lib/Mustache/Exception/UnknownHelperException.php

User Profile Builder – Beautiful User Registration Forms, User Profiles &amp; User Role Editor, version 2.0.2. 30 lines.

- Page: https://pluginprobe.com/plugins/profile-builder/2.0.2/code/assets/lib/Mustache/Exception/UnknownHelperException.php
- Raw: https://pluginprobe.com/plugins/profile-builder/2.0.2/raw/assets/lib/Mustache/Exception/UnknownHelperException.php
- Modified: 2014-10-21T13:22:44+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/profile-builder/2.0.2/code/assets/lib/Mustache/Exception/UnknownHelperException.php#L10-L20`.

```php
<?php

/*
 * This file is part of Mustache.php.
 *
 * (c) 2013 Justin Hileman
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * Unknown helper exception.
 */
class Mustache_Exception_UnknownHelperException extends InvalidArgumentException implements Mustache_Exception
{
    protected $helperName;

    public function __construct($helperName)
    {
        $this->helperName = $helperName;
        parent::__construct(sprintf('Unknown helper: %s', $helperName));
    }

    public function getHelperName()
    {
        return $this->helperName;
    }
}

```
