I have WCF service which communicates with SqlServer, and want to make frontend with JQuery. The question is: How can i catch WCF errors in JQuery code, such as failed connection or not existing database or some others.
PS. Maybe its better to use something like ASP.NET MVC with JQuery rather than pure JQuery?