[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Error handling strategy for Redis multi-bulk replies, in context of Lua bindings
- From: Pierre Chapuis <catwell@...>
- Date: Thu, 24 Mar 2011 07:38:54 +0100
On Thu, 24 Mar 2011 01:33:41 -0400, Sean Conner wrote:
1. OK
2. (error) ERR Operation against a key holding the wrong kind of
value
3. (integer) 4
{
{ true , "OK" } ,
{ false , error_value } ,
{ true , 4 }
}
Or even:
{
{ "status", "OK" },
{ "error", error_value },
{ "integer", 4 }
}
Or better imo:
{
{ "OK", error_value, 4 },
{ "status", "error", "integer" }
}
--
Pierre 'catwell' Chapuis