Environment Variable Error Codes

NOTE:

This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.

140000 Invalid @Env Input Parameter

Error Message

Invalid key for @Env

Description

This error code is reported when an invalid parameter is passed to @Env.

Possible Causes

The parameter provided to @Env is invalid. @Env supports the parameter of the SystemProperties | SystemEnvKey<T> type. For details, see Supported Parameters.

Solution

Ensure that the type of the parameter provided to @Env is SystemProperties | SystemEnvKey<T>. For details, see @Env: Environment Variable