public ErrorDetail getError() {
        return this.error;
    }
<p>
If the <code>Status</code> field is set to <code>FAILED</code>, the <code>ErrorCode</code> field indicates the
reason the synchronization failed.
</p>

@return If the <code>Status</code> field is set to <code>FAILED</code>, the <code>ErrorCode</code> field
        indicates the reason the synchronization failed.
aws-java-sdk-qbusiness/src/main/java/com/amazonaws/services/qbusiness/model/DataSourceSyncJob.java