Ajax adapter converts server-side errors into JSON
Client displays message and shuts down if there is a server-side error