Error handling in save functionality(candidate details) added.