Exception: DataMapper::TypeMap::Error

Inherits:
StandardError show all
Defined in:
lib/gems/dm-core-0.9.7/lib/dm-core/type_map.rb

Overview

class TypeChain

Instance Method Summary collapse

Methods inherited from StandardError

#display

Methods inherited from Exception

json_create, #to_json

Constructor Details

#initialize(type) ⇒ Error

Returns a new instance of Error.



75
76
77
# File 'lib/gems/dm-core-0.9.7/lib/dm-core/type_map.rb', line 75

def initialize(type)
  super("Type #{type} must have a default primitive or type map entry")
end