Exception: Pekky::PekkyError
- Inherits:
-
StandardError
- Object
- StandardError
- Pekky::PekkyError
- Defined in:
- lib/pekky.rb
Overview
A base class for all the errors in Pekky. We’re using custom errors so that we can filter out errors concerning configuration in one place, while still letting other errors filter through like normal. In other words, using a rescue block won’t be an impediment to development.
Direct Known Subclasses
Content::ContentMissingError, Content::FieldMissingError, Format::LibaryMissingError, Tree::PageMissingError
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
37 38 39 |
# File 'lib/pekky.rb', line 37 def @message end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
37 38 39 |
# File 'lib/pekky.rb', line 37 def title @title end |