public ExecutionError getError() {
        return this.error;
    }
<p>
Specifies the details for an error, if it occurred during execution of the specified workflow step.
</p>

@return Specifies the details for an error, if it occurred during execution of the specified workflow step.
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/ExecutionStepResult.java