public void setError(ErrorDetail error) {
        this.error = error;
    }
<p>
An error message with the reason for the failure of an operation.
</p>

@param error
       An error message with the reason for the failure of an operation.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/ColumnError.java