Exception: ViewComponent::NoMatchingTemplatesForPreviewError
- Inherits:
-
StandardError
- Object
- StandardError
- ViewComponent::NoMatchingTemplatesForPreviewError
- Defined in:
- lib/view_component/errors.rb
Overview
:nocov:
Constant Summary collapse
- MESSAGE =
"Found 0 matches for templates for TEMPLATE_IDENTIFIER."
Instance Method Summary collapse
-
#initialize(template_identifier) ⇒ NoMatchingTemplatesForPreviewError
constructor
A new instance of NoMatchingTemplatesForPreviewError.
Constructor Details
#initialize(template_identifier) ⇒ NoMatchingTemplatesForPreviewError
Returns a new instance of NoMatchingTemplatesForPreviewError.
209 210 211 |
# File 'lib/view_component/errors.rb', line 209 def initialize(template_identifier) super(MESSAGE.gsub("TEMPLATE_IDENTIFIER", template_identifier)) end |