error() method from fcf.Actions.Act class
Package: fcf-framework-core
File: fcf-framework-core:fcf.js
Available from version: 2.0.2
Sets the error state on the
Arguments
- Installable error
Example: Function application
fcf.actions()
.then ((a_lastResult, a_act )=>{
a_act .error (new Error("Test error"));
})
.catch ((a_error)=>{
console.error(a_error.message);
});
Output:
Test error