{crmSQL} now returns an JSON with error details. 

This will allow users to check for errors and show them appropriately.