Added error handling functions on the server
Merge branch 'master' of https://github.com/EKGAPI/webAppEKGAPI
Merge pull request #24 from xue0chao/master

Added error handling functions on the server