Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'FLUID-4842'

* FLUID-4842:
  FLUID-4842: Improved comment for fluid.fail
  • Loading branch information...
commit 99e40f45638960c207a0ff151e5b8cb49231844d 2 parents 20912e7 + 93a3f1f
@yzen yzen authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 src/webapp/framework/core/js/Fluid.js
View
7 src/webapp/framework/core/js/Fluid.js
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.