Exception: Riki::NotFound

Inherits:
RikiError
  • Object
show all
Defined in:
lib/riki/errors.rb

Overview

Raised when an object cannot be found with the query parameters supplied

Direct Known Subclasses

PageInvalid, PageNotFound

Constant Summary

Constants inherited from RikiError

RikiError::ERRORS

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RikiError

lookup

Constructor Details

#initialize(message, title) ⇒ NotFound

Returns a new instance of NotFound.



21
22
23
24
# File 'lib/riki/errors.rb', line 21

def initialize(message, title)
  super(message)
  @title = title
end

Instance Attribute Details

#titleObject (readonly)

:nodoc:



19
20
21
# File 'lib/riki/errors.rb', line 19

def title
  @title
end