couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: svn commit: r1035694 - /couchdb/trunk/src/couchdb/couch_changes.erl
Date Tue, 16 Nov 2010 18:28:31 GMT
On Tue, Nov 16, 2010 at 7:19 PM, Filipe David Manana
<fdmanana@apache.org> wrote:
> On Tue, Nov 16, 2010 at 6:16 PM, Benoit Chesneau <bchesneau@gmail.com> wrote:
>> On Tue, Nov 16, 2010 at 7:04 PM, Filipe David Manana
>> <fdmanana@apache.org> wrote:
>>> what did you meant?
>>>
>>> On Tue, Nov 16, 2010 at 5:58 PM, Benoit Chesneau <bchesneau@gmail.com>
wrote:
>>>> On Tue, Nov 16, 2010 at 6:01 PM,  <fdmanana@apache.org> wrote:
>>>>
>>>>>  filter_docids(_, _) ->
>>>>> -    throw({bad_request, "`doc_ids` member is undefined or not a
>>>>> -            list."}).
>>>>> +    throw({bad_request, "`doc_ids` member must be defined as a list"}).
>>>>
>>>> result is the same, but that's definitely not what I meant.
>>>>
>> that's the member was undefined or not a list. I you say that's the
>> member must be defined as a list, you are less descriptive.
>>
>
> If it's not defined than it's definitely not a list. Does it make sense?
I didn't say that your sentence didn't have sense. But I meant to be
more descriptive. Afterall that's the reason you want to use ===
rather than == in js.

Mime
View raw message