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