Skip to content

Commit

Permalink
FLUID-4842: Improved comment for fluid.fail
Browse files Browse the repository at this point in the history
  • Loading branch information
amb26 committed Nov 9, 2012
1 parent 8fea998 commit 93a3f1f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/webapp/framework/core/js/Fluid.js
Expand Up @@ -65,10 +65,11 @@ var fluid = fluid || fluid_1_5;
};

/**
* Causes an error message to be logged to the console and a real runtime error to be thrown.
* Signals an error to the framework. The default behaviour is to log a structured error message and throw a variety of
* exception (hard or soft) - see fluid.pushSoftFailure for configuration
*
* @param {String|Error} message the error message to log
* @param ... Additional arguments
* @param {String} message the error message to log
* @param ... Additional arguments, suitable for being sent to native console.log function
*/
fluid.fail = function (message /*, ... */) { // jslint:ok - whitespace in arg list
var args = fluid.makeArray(arguments);
Expand Down

0 comments on commit 93a3f1f

Please sign in to comment.