jQuery.error()
Categories: Internals
jQuery.error( message )
Description: Takes a string and throws an exception containing it.
-
jQuery.error( message )
version added: 1.0message The message to send out.
This method exists primarily for plugin developers who wish to override it and provide a better display (or more information) for the error messages.
-
Override jQuery.error for display in Firebug.
Code:
jQuery.error = console.error;