u4819210 / social-networks-for-fun

Automatically exported from code.google.com/p/social-networks-for-fun
0 stars 0 forks source link

We need to define error code in API's #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
We need to define error code in the return string of API's. API's should not 
return exceptions.

For example, if the signup API is called the second time with the same info, it 
should return a nice msg about username being used already, not an exception 
stack.

Original issue reported on code.google.com by johnliu...@gmail.com on 31 Aug 2010 at 7:25