Description
The jQuery.error() method takes a string and throws an exception containing it.
v1.4.1
This method has the form:
jQuery.error(message)
Parameter | Description |
---|---|
message | Specifies the message to send out |
Return Value
This form returns nothing.
Examples
Override jQuery.error for display in Firebug:
jQuery.error = console.error;