Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Wiki Markup


Causes an error message to be logged to the console and a real runtime error to be thrown.


*File name:* {{Fluid.js}}

h2. Parameters

|*{{message}}*| (String\|Error) The error message to log |{span}

h2. Return Value



h3. See Also


h3. Example
var inputField = that.locate("inputField");
if (inputField.lengh === 0) {"No input field was found."); 
In this example, a component [Infusion13:DOM Binder] {{locate}} function is used to find the element specified by the {{inputField}} selector. If no such element is found, an error is thrown using {{}}.