Class: JustimmoClient::Errors::KeyNotFound

Inherits:
JustimmoError
  • Object
show all
Defined in:
lib/justimmo_client/errors.rb

Overview

A key could not be found in the specified mapping.

Instance Method Summary collapse

Constructor Details

#initialize(key, map) ⇒ KeyNotFound

Returns a new instance of KeyNotFound.



34
35
36
# File 'lib/justimmo_client/errors.rb', line 34

def initialize(key, map)
  super("Key #{key} not found in #{map} mapping.")
end