

# ErrorDetails
<a name="API_ErrorDetails"></a>

Error details.

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

 ** code **   <a name="mgn-Type-ErrorDetails-code"></a>
Error details code.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 256.  
Required: No

 ** message **   <a name="mgn-Type-ErrorDetails-message"></a>
Error details message.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 65536.  
Required: No

 ** resourceId **   <a name="mgn-Type-ErrorDetails-resourceId"></a>
Error details resourceId.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 65536.  
Required: No

 ** resourceType **   <a name="mgn-Type-ErrorDetails-resourceType"></a>
Error details resourceType.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 65536.  
Required: No

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/mgn-2020-02-26/ErrorDetails) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/mgn-2020-02-26/ErrorDetails) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/mgn-2020-02-26/ErrorDetails) 