summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@apache.org>2010-11-16 17:01:22 +0000
committerFilipe David Borba Manana <fdmanana@apache.org>2010-11-16 17:01:22 +0000
commit7d5b19ed61f904905da4d0598754ef4405baba85 (patch)
tree471d4b601ff2d3b0120a5f6886536974619e4019 /src
parent1a08bacb3cbef619f1cca65322d0848d8838d706 (diff)
Fix typo and grammar.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1035694 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_changes.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/couchdb/couch_changes.erl b/src/couchdb/couch_changes.erl
index 22661331..9009ef1c 100644
--- a/src/couchdb/couch_changes.erl
+++ b/src/couchdb/couch_changes.erl
@@ -142,7 +142,7 @@ builtin_filter_fun(<<"_design", _/binary>>, Style, _Req, _Db) ->
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_list(DocIds)->
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}) ->