Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (20 sloc) 0.742 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?xml version="1.0"?>
<entry type="method" name="jQuery.error" return="">
  <title>jQuery.error()</title>
  <signature>
    <added>1.4.1</added>
    <argument name="message" type="String">
      <desc>The message to send out.</desc>
    </argument>
  </signature>
  <desc>Takes a string and throws an exception containing it.</desc>
  <longdesc>
    <p>This method exists primarily for plugin developers who wish to override it and provide a better display (or more information) for the error messages.</p>
  </longdesc>
  <example>
    <desc>Override jQuery.error for display in Firebug.</desc>
    <code><![CDATA[jQuery.error = console.error;]]></code>
  </example>
  <category slug="internals"/>
  <category slug="version/1.4.1"/>
</entry>
Something went wrong with that request. Please try again.