Class: JustimmoClient::Errors::MappingNotFound

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

Overview

A mapping could not be found in the mappings hash.

Instance Method Summary collapse

Constructor Details

#initialize(map) ⇒ MappingNotFound

Returns a new instance of MappingNotFound.



27
28
29
# File 'lib/justimmo_client/errors.rb', line 27

def initialize(map)
  super("Could not find #{map} mapping.")
end