artemeff / redis

Redis commands for Elixir
MIT License
358 stars 63 forks source link

handling error #55

Open sikanhe opened 8 years ago

sikanhe commented 8 years ago

Shouldn't we be using {:ok, vaue} and {:error, error} for responses as per elixir/erlang convention?

artemeff commented 8 years ago

@sikanhe yep, maybe in future releases I'll remove |> elem(1) from query API, thanks.

seivan commented 7 years ago

I second this as I'm forced to do if foo == :undefined, do: foo = nil