You can Use try,catch on the Client Side bind your web api calls on a try/catch to handle the server response appropriately