Exception: Porthole::ContextMiss
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Porthole::ContextMiss
- Defined in:
- lib/porthole/context.rb
Overview
A ContextMiss is raised whenever a tag’s target can not be found in the current context if ‘Porthole#raise_on_context_miss?` is set to true.
For example, if your View class does not respond to ‘music` but your template contains a `{music}` tag this exception will be raised.
By default it is not raised. See Porthole.raise_on_context_miss.