Exception: Riki::NotFound
- Defined in:
- lib/riki/errors.rb
Overview
Raised when an object cannot be found with the query parameters supplied
Direct Known Subclasses
Constant Summary
Constants inherited from RikiError
Instance Attribute Summary collapse
-
#title ⇒ Object
readonly
:nodoc:.
Instance Method Summary collapse
-
#initialize(message, title) ⇒ NotFound
constructor
A new instance of NotFound.
Methods inherited from RikiError
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(, title) super() @title = title end |
Instance Attribute Details
#title ⇒ Object (readonly)
:nodoc:
19 20 21 |
# File 'lib/riki/errors.rb', line 19 def title @title end |