Exception: Riki::PageNotFound
- Defined in:
- lib/riki/errors.rb
Overview
Raised when a page that was searched for could not be found
Constant Summary
Constants inherited from RikiError
Instance Attribute Summary
Attributes inherited from NotFound
Instance Method Summary collapse
-
#initialize(title) ⇒ PageNotFound
constructor
:nodoc:.
Methods inherited from RikiError
Constructor Details
#initialize(title) ⇒ PageNotFound
:nodoc:
29 30 31 |
# File 'lib/riki/errors.rb', line 29 def initialize(title) super("Could not find a page named '#{title}'", title) end |