Exception: Riki::PageNotFound

Inherits:
NotFound show all
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

RikiError::ERRORS

Instance Attribute Summary

Attributes inherited from NotFound

#title

Instance Method Summary collapse

Methods inherited from RikiError

lookup

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