redis icon indicating copy to clipboard operation
redis copied to clipboard

handling error

Open sikanhe opened this issue 9 years ago • 2 comments

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

sikanhe avatar Dec 23 '15 03:12 sikanhe

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

artemeff avatar Dec 23 '15 06:12 artemeff

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

seivan avatar Dec 29 '16 17:12 seivan