Exception: Curio::NotFoundError

Inherits:
KeyError
  • Object
show all
Defined in:
lib/curio.rb

Overview

Error raised when fetch cannot find an item with key

Instance Method Summary collapse

Constructor Details

#initialize(key) ⇒ NotFoundError



11
12
13
14
# File 'lib/curio.rb', line 11

def initialize(key)
  @key = key
  super "Item not found in collection with key: #{key}"
end