Content-Length: 46001 | pFad | https://api.jquery.com/jQuery.readyException/

jQuery.readyException() | jQuery API Documentation

jQuery.readyException()


jQuery.readyException( error )Returns: Selector

Description: Handles errors thrown synchronously in functions wrapped in jQuery().

This method is fired when an error is thrown synchronously in a function wrapped in jQuery() or jQuery( document ).ready(), or equivalent. By default it re-throws the error in a timeout so that it's logged in the console and passed to window.onerror instead of being swallowed. Overwrite this method if you want to handle such errors differently.

Example:

Pass the received error to console.error.

1
2
3
jQuery.readyException = function( error ) {
console.error( error );
};








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://api.jquery.com/jQuery.readyException/

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy