tvheadend/vendor/ext-3.4.1/docs/output/Ext.Error.js
Adam Sutton bafcfff42d webui: restructure webui/extjs source files
I want to keep the 3rd-party packages away from the main source
where possible.
2013-06-03 17:11:01 +01:00

21 lines
No EOL
6.4 KiB
JavaScript

/*
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":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'>Error<div class='subclass '><strong>Ext.Error</strong></div></div><h4>Subclasses</h4><div class='dependency'><a href='#!/api/Ext.data.Api.Error' rel='Ext.data.Api.Error' class='docClass'>Ext.data.Api.Error</a></div><div class='dependency'><a href='#!/api/Ext.data.DataProxy.Error' rel='Ext.data.DataProxy.Error' class='docClass'>Ext.data.DataProxy.Error</a></div><div class='dependency'><a href='#!/api/Ext.data.DataReader.Error' rel='Ext.data.DataReader.Error' class='docClass'>Ext.data.DataReader.Error</a></div><div class='dependency'><a href='#!/api/Ext.data.JsonReader.Error' rel='Ext.data.JsonReader.Error' class='docClass'>Ext.data.JsonReader.Error</a></div><div class='dependency'><a href='#!/api/Ext.data.Store.Error' rel='Ext.data.Store.Error' class='docClass'>Ext.data.Store.Error</a></div><h4>Files</h4><div class='dependency'><a href='source/Error.html#Ext-Error' target='_blank'>Error.js</a></div></pre><div class='doc-contents'><p>A base error class. Future implementations are intended to provide more\nrobust error handling throughout the framework (<b>in the debug build only</b>)\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.</p>\n\n\n<p>Some sample messages currently implemented:</p>\n\n\n<pre>\"DataProxy attempted to execute an API-action but found an undefined\nurl / function. Please review your Proxy url/api-configuration.\"\n</pre>\n\n\n<pre>\"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</pre>\n\n\n<p>An example of the code used for generating error messages:</p>\n\n\n<pre><code>try {\n generateError({\n foo: 'bar'\n });\n}\ncatch (e) {\n console.error(e);\n}\nfunction generateError(data) {\n throw new <a href=\"#!/api/Ext.Error\" rel=\"Ext.Error\" class=\"docClass\">Ext.Error</a>('foo-error', data);\n}\n</code></pre>\n\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-getMessage' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.Error'>Ext.Error</span><br/><a href='source/Error.html#Ext-Error-method-getMessage' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.Error-method-getMessage' class='name expandable'>getMessage</a>( <span class='pre'></span> ) : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></div><div class='description'><div class='short'>getMessage ...</div><div class='long'><p>getMessage</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getName' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.Error'>Ext.Error</span><br/><a href='source/Error.html#Ext-Error-method-getName' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.Error-method-getName' class='name expandable'>getName</a>( <span class='pre'></span> ) : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></div><div class='description'><div class='short'>getName ...</div><div class='long'><p>getName</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-toJson' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.Error'>Ext.Error</span><br/><a href='source/Error.html#Ext-Error-method-toJson' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.Error-method-toJson' class='name expandable'>toJson</a>( <span class='pre'></span> ) : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></div><div class='description'><div class='short'>toJson ...</div><div class='long'><p>toJson</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div></div></div></div></div>","superclasses":["Error"],"meta":{},"requires":[],"html_meta":{},"statics":{"property":[],"cfg":[],"css_var":[],"method":[],"event":[],"css_mixin":[]},"files":[{"href":"Error.html#Ext-Error","filename":"Error.js"}],"linenr":12,"members":{"property":[],"cfg":[],"css_var":[],"method":[{"tagname":"method","owner":"Ext.Error","meta":{},"name":"getMessage","id":"method-getMessage"},{"tagname":"method","owner":"Ext.Error","meta":{},"name":"getName","id":"method-getName"},{"tagname":"method","owner":"Ext.Error","meta":{},"name":"toJson","id":"method-toJson"}],"event":[],"css_mixin":[]},"inheritable":null,"private":null,"component":false,"name":"Ext.Error","singleton":false,"override":null,"inheritdoc":null,"id":"class-Ext.Error","mixins":[],"mixedInto":[]});