Skip to contentSkip to conversation

doc: Update service-api doc to match the code

PATCH In review Ronald Tessier 2 participants 2 messages May 9, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: Update service-api doc to match the code

GetMessages method has no argument and the implementation does not return any error.

---
 doc/service-api.txt |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
doc/service-api.txt +0 -2
index 46989f4..d87644b 100644
@@ -16,8 +16,6 @@ Methods		array{object,dict} GetMessages()
 			and removal shall be monitored via MessageAdded and
 			MessageRemoved signals.
 
-			Possible Errors: [service].Error.InvalidArguments
-
 		array{object,dict} GetConversation(string number, uint32 count)
 
 			Get an array of message objects and properties

--
1.7.4.1

#1 lore raw

Hi Ronald,

Quoted 12 lines

GetMessages method has no argument and the implementation does not return any error.

---
 doc/service-api.txt |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
doc/service-api.txt +0 -0
index 46989f4..d87644b 100644

doc/service-api.txt Methods array{object,dict} GetMessages() · line 20

Quoted 5 lines
doc/service-api.txt +0 -2
@@ -16,8 +16,6 @@ Methods		array{object,dict} GetMessages()
 			and removal shall be monitored via MessageAdded and
 			MessageRemoved signals.
 
-			Possible Errors: [service].Error.InvalidArguments
-

actually this error is valid. For example in case you call GetMessages with an argument. So the error should stay.

Regards

Marcel