/* This file is part of Ext JS 3.4 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html. If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact. Build date: 2013-04-03 15:07:25 */ Ext.data.JsonP.Ext_Error({"alternateClassNames":[],"aliases":{},"enum":null,"parentMixins":[],"tagname":"class","subclasses":["Ext.data.Api.Error","Ext.data.DataProxy.Error","Ext.data.DataReader.Error","Ext.data.JsonReader.Error","Ext.data.Store.Error"],"extends":"Error","uses":[],"html":"
Hierarchy
ErrorExt.ErrorSubclasses
Files
A base error class. Future implementations are intended to provide more\nrobust error handling throughout the framework (in the debug build only)\nto check for common errors and problems. The messages issued by this class\nwill aid error checking. Error checks will be automatically removed in the\nproduction build so that performance is not negatively impacted.
\n\n\nSome sample messages currently implemented:
\n\n\n\"DataProxy attempted to execute an API-action but found an undefined\nurl / function. Please review your Proxy url/api-configuration.\"\n\n\n\n
\"Could not locate your \"root\" property in your server response.\nPlease review your JsonReader config to ensure the config-property\n\"root\" matches the property your server-response. See the JsonReader\ndocs for additional assistance.\"\n\n\n\n
An example of the code used for generating error messages:
\n\n\ntry {\n generateError({\n foo: 'bar'\n });\n}\ncatch (e) {\n console.error(e);\n}\nfunction generateError(data) {\n throw new Ext.Error('foo-error', data);\n}\n
\n\n