

# PhaseContext
<a name="API_PhaseContext"></a>

Additional information about a build phase that has an error. You can use this information for troubleshooting.

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

**Note**  
In the following list, the required parameters are described first.

 ** message **   <a name="CodeBuild-Type-PhaseContext-message"></a>
An explanation of the build phase's context. This might include a command ID and an exit code.  
Type: String  
Required: No

 ** statusCode **   <a name="CodeBuild-Type-PhaseContext-statusCode"></a>
The status code for the context of the build phase.  
Type: String  
Required: No

## See Also
<a name="API_PhaseContext_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/codebuild-2016-10-06/PhaseContext) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codebuild-2016-10-06/PhaseContext) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codebuild-2016-10-06/PhaseContext) 