public String getStateReasonCode() {
        return this.stateReasonCode;
    }
<p>
If this value is <code>CANARY_FAILURE</code>, an exception occurred in the canary code. If this value is
<code>EXECUTION_FAILURE</code>, an exception occurred in CloudWatch Synthetics.
</p>

@return If this value is <code>CANARY_FAILURE</code>, an exception occurred in the canary code. If this value is
        <code>EXECUTION_FAILURE</code>, an exception occurred in CloudWatch Synthetics.
@see CanaryRunStateReasonCode
aws-java-sdk-synthetics/src/main/java/com/amazonaws/services/synthetics/model/CanaryRunStatus.java