Exception: Pekky::Content::ContentMissingError
- Inherits:
-
PekkyError
- Object
- StandardError
- PekkyError
- Pekky::Content::ContentMissingError
- Defined in:
- lib/pekky/content.rb
Overview
This error will be raised if a content YAML file cannot be found in the content directory – stored in Config
Instance Attribute Summary
Attributes inherited from PekkyError
Instance Method Summary collapse
-
#initialize(path) ⇒ ContentMissingError
constructor
A new instance of ContentMissingError.
Constructor Details
#initialize(path) ⇒ ContentMissingError
Returns a new instance of ContentMissingError.
8 9 10 |
# File 'lib/pekky/content.rb', line 8 def initialize(path) @message = "The content file '#{path}.yml' could not be found." end |