

# TaskError
<a name="API_TaskError"></a>

Contains information about an error returned from a user access task.

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

 ** errorCode **   <a name="appfabric-Type-TaskError-errorCode"></a>
The code of the error.  
Type: String  
Required: No

 ** errorMessage **   <a name="appfabric-Type-TaskError-errorMessage"></a>
The message of the error.  
Type: String  
Required: No

## See Also
<a name="API_TaskError_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/appfabric-2023-05-19/TaskError) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/appfabric-2023-05-19/TaskError) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/appfabric-2023-05-19/TaskError) 