Skip to main content
Hitachi Vantara Lumada and Pentaho Documentation

ActionResult_constructor

pentaho.lang.ActionResult#constructor

Constructor

Name Description
new constructor(value, error)

Creates an ActionResult with a given value or error.

Constructor Details

new constructor(value, error)

Creates an ActionResult with a given value or error.

Source: javascript/web/pentaho/lang/ActionResult.js, line 62

Parameters:
Name Default Value Summary
value : object

The value of a successful action.

error : string | Error | pentaho.lang.UserError

The error that contains the reason why the action was rejected.