lib/greygoo/role/storable.rb
def handle_error(res)
				if res.is_a?(Array)
					raise res[0].new(res[1])
				end
			end
# Raises an error from the database. See mongo docs; Arrays are errors.
Raises an error from the database. See mongo docs; Arrays are errors.
Raises an error from the database . See mongo docs ; Arrays are errors .
def handle_error(res)
				if res.is_a?(Array)
					raise res[0].new(res[1])
				end
			end
def handle_error ( res ) if res . is_a? ( Array ) raise res [ 0 ] . new ( res [ 1 ] ) end end
Raises an error from the database.
Raises an error from the database .
res