public function setErrorMessage($batch, $error) {
        update_option("ilab_media_tools_{$batch}_error_id", $batch.'-error-'.sanitize_title(microtime(true)).'-forever');
        update_option("ilab_media_tools_{$batch}_error_message", $error);
    }