

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

Contains details about an error.

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

 ** ErrorCode **   <a name="lakeformation-Type-ErrorDetail-ErrorCode"></a>
The code associated with this error.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*`   
Required: No

 ** ErrorMessage **   <a name="lakeformation-Type-ErrorDetail-ErrorMessage"></a>
A message describing the error.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 2048.  
Pattern: `[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*`   
Required: No

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

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/lakeformation-2017-03-31/ErrorDetail) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/lakeformation-2017-03-31/ErrorDetail) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/lakeformation-2017-03-31/ErrorDetail) 