```ruby
require 'mustache'

module MozNav
  class MustacheBase < Mustache
    self.view_path      = MozNav::Root + 'moz_nav/views'
    self.template_path  = MozNav::Root + 'moz_nav/templates'
    self.view_namespace = MozNav
  end
end

```

Raise errors when a mustache variable/method isn't found.
user
```ruby
require 'mustache'

module MozNav
  class MustacheBase < Mustache
    self.view_path      = MozNav::Root + 'moz_nav/views'
    self.template_path  = MozNav::Root + 'moz_nav/templates'
    self.view_namespace = MozNav

    def self.inherited(subclass)
      # for some reason, this setting isn't properly inherited, so we need to
      # set it directly on the subclass
      subclass.raise_on_context_miss = true
    end
  end
end

```
assistant