Exception: Riki::PageInvalid

Inherits:
NotFound show all
Defined in:
lib/riki/errors.rb

Overview

Raised when a page that was searched for is not a valid

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) ⇒ PageInvalid

:nodoc:



36
37
38
# File 'lib/riki/errors.rb', line 36

def initialize(title)
  super("The page title '#{title}' is not valid", title)
end