# elementor/3.32.0-dev2/modules/variables/storage/exceptions/batch-operation-failed.php

Elementor Website Builder – more than just a page builder, version 3.32.0-dev2. 21 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.32.0-dev2/code/modules/variables/storage/exceptions/batch-operation-failed.php
- Raw: https://pluginprobe.com/plugins/elementor/3.32.0-dev2/raw/modules/variables/storage/exceptions/batch-operation-failed.php
- Modified: 2025-09-03T11:05:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/3.32.0-dev2/code/modules/variables/storage/exceptions/batch-operation-failed.php#L10-L20`.

```php
<?php

namespace Elementor\Modules\Variables\Storage\Exceptions;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

class BatchOperationFailed extends \Exception {
	private array $error_details;

	public function __construct( string $message, array $error_details = [] ) {
		parent::__construct( $message );
		$this->error_details = $error_details;
	}

	public function getErrorDetails(): array {
		return $this->error_details;
	}
}

```
