public BatchItemError getError() {
        return this.error;
    }
<p>
Contains details related to the error code.
</p>

@return Contains details related to the error code.
aws-java-sdk-location/src/main/java/com/amazonaws/services/location/model/BatchGetDevicePositionError.java