Exception: TinyMongo::DeserializationError

Inherits:
Error
  • Object
show all
Defined in:
lib/tinymongo/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(class_name) ⇒ DeserializationError

Returns a new instance of DeserializationError.



24
25
26
# File 'lib/tinymongo/errors.rb', line 24

def initialize(class_name)
  super("Unable to deserialize hash into #{class_name}!")
end