Skip to main content
Pentaho Documentation

ArgumentError

pentaho.lang.ArgumentError

The ArgumentError class is the base class of error objects associated with a function argument.

The pentaho.lang.ArgumentError#argument property contains the name of the associated argument.

AMD Module

require(["pentaho/lang/ArgumentError"], function(ArgumentError) { /* code goes here */ });

Extends

Constructor

Name Description
new ArgumentError(name, message)

Creates an argument error object.

Members

Name Description
name : string

The name of the type of error.

Constructor Details

new ArgumentError(name, message)

Creates an argument error object.

Source: javascript/web/pentaho/lang/ArgumentError.js, line 24

Parameters:
Name Default Value Summary
name : string

The name of the argument.

message : string

The error message.

Members Details

name: string

The name of the type of error.

Source: javascript/web/pentaho/lang/ArgumentError.js, line 59

Default Value: "ArgumentError"