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 only parameters of the SystemProperties type. For details, see Supported Parameters.
Solution
Ensure that the @Env parameter type is of the SystemProperties type. For details, see @Env: Environment Variable.
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 arkts-apis-uicontext-contextmenucontroller
openharmony 鸿蒙 errorcode-canvas
openharmony 鸿蒙 capi-oh-nativexcomponent-native-xcomponent-oh-nativexcomponent
openharmony 鸿蒙 errorcode-bindSheet
openharmony 鸿蒙 js-apis-arkui-uiExtension-sys
openharmony 鸿蒙 capi-arkui-accessibility-arkui-accessibilityeventinfo
openharmony 鸿蒙 capi-arkui-rendernodeutils
openharmony 鸿蒙 js-apis-arkui-node
openharmony 鸿蒙 capi-native-node-h
openharmony 鸿蒙 capi-arkui-nativemodule-arkui-listitemswipeactionitem