exception() method from fcf.Actions class
Package: fcf-framework-core
File: fcf-framework-core:fcf.js
Available from version: 2.0.2
Throws an exception if the object of actions is in a state of error
Result
- Self pointer
Example: Function application
try {
fcf.require("INCORRECT_PATH", {async: false, quiet: true}).options ({quiet: true}).exception ();
} catch(e) {
console.error(e.message);
}
Output:
Cannot find module 'INCORRECT_PATH'
...