

# EnvironmentError
<a name="API_EnvironmentError"></a>

The failure reasons for the environment deployment.

## Contents
<a name="API_EnvironmentError_Contents"></a>

 ** message **   <a name="datazone-Type-EnvironmentError-message"></a>
The error message for the failure reason for the environment deployment.  
Type: String  
Required: Yes

 ** code **   <a name="datazone-Type-EnvironmentError-code"></a>
The error code for the failure reason for the environment deployment.  
Type: String  
Required: No

## See Also
<a name="API_EnvironmentError_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/datazone-2018-05-10/EnvironmentError) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/datazone-2018-05-10/EnvironmentError) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/datazone-2018-05-10/EnvironmentError) 