gslint error messages

A list of error messages relating to the gslint command. For messages that are not self-explanatory, additional information is provided.

Table 1. gslint error messages
Number Description
GS-25001

An internal error occurred at 'value A':value B'

This error is internal, and does not normally occur. Contact your local support center.

GS-25002

'value A'Path does not exist: 'value B'

Check the GSLINTRULES environment variable. For further information, see Code Quality.

GS-25003

'value A'Path is not a file: 'value B'

Check the GSLINTRULES environment variable. For further information, see Code Quality.

GS-25101

Cannot read file of rules 'value'

For further information, see The lint rules file.

GS-25102

Invalid rule. 'value' is not a valid rule key

For further information, see The format of rules in the lint rules file.

GS-25103

Invalid rule property. The 'value' rule property is unknown

For further information, see Identifier naming convention rules.

GS-25104

Invalid rule property value. 'value' is not a valid value for the 'rule' rule property

For further information, see Identifier naming convention rules.

GS-25105

Can be one of the following messages according to the option(functions|comWebServiceEngineOptions|FGLImports|frontCalls) defined for a ruleid (deprecated|backwardCompatibility) in the gslint rules file:

The function 'function()' cannot appear twice, once in the 'value A'.'value C' list and one in the 'value B'.'value C' list

The WebServiceEngine option ''option' reference cannot appear twice, once in the 'value A'.'value C' list and one in the 'value B'.'value C' list

The IMPORT FGL 'reference' reference cannot appear twice, once in the 'value A'.'value C' list and one in the 'value B'.'value C' list

The front call 'reference' reference cannot appear twice, once in the 'value A'.'value C' list and one in the 'value B'.'value C' list

Two ruleids (deprecated|backwardCompatibility) defined in gslint rules file with same option can not contain the same value. Fix your rules file.

GS-25106

'value A' doesn't respect the 'object.function' front call convention rule syntax (For example WINCOM.CallMethod) in the 'value B'.'value C' rule property

Error message and resolution should be self-explanatory.

GS-25201

There is no rule to check.

Error message and resolution should be self-explanatory.

GS-25202

The Abstract Tree Syntax is not valid.

Error message and resolution should be self-explanatory.

GS-25203

Cannot load Abstract Tree Syntax from STDIN

Error message and resolution should be self-explanatory.

GS-25204

Cannot extract Abstract Tree Syntax from the file 'file'

Error message and resolution should be self-explanatory.

GS-25205

'value A' doesn't respect the 'value B' prefix naming convention rule

For further information, see Identifier naming convention rules.

GS-25206

Decimal precision is mandatory

For further information, see Mandatory DECIMAL and MONEY precision rules.

GS-25207

Avoid multi-line string

For further information, see Multi-line STRING definition rules.

GS-25209

Do not declare more than one variable per type inside a single declaration

For further information, see Only one variable per type inside a single declaration rules.

GS-25211

Do not declare more than one constant per declaration

Error message and resolution should be self-explanatory.

GS-25212

Do not declare more than one variable per declaration

For further information, see Only one variable per declaration rules.

GS-25213

Do not declare more than one type per declaration

Error message and resolution should be self-explanatory.

GS-25215

The 'value' is supported for backward compatibility

For further information, see Detect backwards compatibility features.

GS-25216

The 'value' is deprecated, and may be removed in a future version

For further information, see Detect deprecated features rules.