Skip to main content
Pentaho Documentation

ValidationError

pentaho.type.ValidationError

The base class of errors associated with values validation.

See also:  pentaho.type.Value#validate

Extends

Constructor

Name Description
new ValidationError(message)

Creates a validation error object.

Members

Name Description
name : string

The name of the type of error.

Constructor Details

new ValidationError(message)

Creates a validation error object.

Source: javascript/web/pentaho/type/ValidationError.js, line 24

Parameters:
Name Default Value Summary
message : string

The error message.

See also:  pentaho.type.Value#validate

Members Details

name: string

The name of the type of error.

Source: javascript/web/pentaho/type/ValidationError.js, line 46

Default Value: "ValidationError"

Overrides: pentaho.lang.UserError#name