couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1035694 - /couchdb/trunk/src/couchdb/couch_changes.erl
Date Tue, 16 Nov 2010 17:01:22 GMT
Author: fdmanana
Date: Tue Nov 16 17:01:22 2010
New Revision: 1035694

URL: http://svn.apache.org/viewvc?rev=1035694&view=rev
Log:
Fix typo and grammar.

Modified:
    couchdb/trunk/src/couchdb/couch_changes.erl

Modified: couchdb/trunk/src/couchdb/couch_changes.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_changes.erl?rev=1035694&r1=1035693&r2=1035694&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_changes.erl (original)
+++ couchdb/trunk/src/couchdb/couch_changes.erl Tue Nov 16 17:01:22 2010
@@ -142,7 +142,7 @@ builtin_filter_fun(<<"_design", _/binary
     filter_designdoc(Style);
 builtin_filter_fun(_FilterName, _Style, _Req, _Db) ->
     throw({bad_request,
-            "unkown builtin filter name"}).
+            "unknown builtin filter name"}).
 
 filter_docids(DocIds, Style) when is_list(DocIds)->
     fun(#doc_info{id=DocId, revs=Revs}) ->
@@ -153,8 +153,7 @@ filter_docids(DocIds, Style) when is_lis
             end
     end;
 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"}).
 
 filter_designdoc(Style) ->
     fun(#doc_info{id=DocId, revs=Revs}) ->



Mime
View raw message