

# ErrorInfo
<a name="API_ErrorInfo"></a>

An error that occurred during resource creation.

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

 ** code **   <a name="PCS-Type-ErrorInfo-code"></a>
The short-form error code.  
Type: String  
Required: No

 ** message **   <a name="PCS-Type-ErrorInfo-message"></a>
The detailed error information.  
Type: String  
Required: No

## See Also
<a name="API_ErrorInfo_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/pcs-2023-02-10/ErrorInfo) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/pcs-2023-02-10/ErrorInfo) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/pcs-2023-02-10/ErrorInfo) 