• File: batch-operation-failed.php
  • Full Path: /home/bravrvjk/itiministry.org/wp-content/plugins/elementor/modules/variables/storage/exceptions/batch-operation-failed.php
  • Date Modified: 09/15/2025 2:10 PM
  • File size: 455 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?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;
	}
}