public BatchStatementError getError() {
        return this.error;
    }
<p>
The error associated with a failed PartiQL batch statement.
</p>

@return The error associated with a failed PartiQL batch statement.
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/BatchStatementResponse.java