This documentation is currently being moved to our new documentation site.

Please view or edit the documentation there, instead.

If you're looking for Fluid Project coordination, design, communication, etc, try the Fluid Project Wiki.



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


File name: Fluid.js


condition (Boolean|Function) Either
  • a boolean flag choosing between built-in framework strategies to be used in
    • false, the default causes a "hard failure" by using a nonexistent property on a String, which will in all known environments trigger an unhandleable exception which aids debugging, or
    • true downgrades this behaviour to throw a conventional exception, which is more appropriate in test cases which need to demonstrate failure, as well as in some production environments.
  • a function, which will be called with two arguments, args (the complete arguments to and activity, an array of strings describing the current framework invocation state.
  • the number -1 indicating that the previously supplied disposition should be popped off the stack

Return Value



See Also