

# ErrorDetail
<a name="API_ErrorDetail"></a>

Error details for a failed operation.

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

 ** code **   <a name="drs-Type-ErrorDetail-code"></a>
The error code.  
Type: String  
Required: Yes

 ** message **   <a name="drs-Type-ErrorDetail-message"></a>
The error message.  
Type: String  
Required: Yes

## See Also
<a name="API_ErrorDetail_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/drs-2020-02-26/ErrorDetail) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/drs-2020-02-26/ErrorDetail) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/drs-2020-02-26/ErrorDetail) 