public String getError() {
        return this.error;
    }
<p>
The error message from the cluster if the SQL statement encountered an error while running.
</p>

@return The error message from the cluster if the SQL statement encountered an error while running.
aws-java-sdk-redshiftdataapi/src/main/java/com/amazonaws/services/redshiftdataapi/model/SubStatementData.java