first commit

This commit is contained in:
Roman Pyrih
2026-03-10 09:50:10 +01:00
commit 64c4a90405
7289 changed files with 2645777 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?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;
}
}

View File

@@ -0,0 +1,11 @@
<?php
namespace Elementor\Modules\Variables\Storage\Exceptions;
use Exception;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class DuplicatedLabel extends Exception {}

View File

@@ -0,0 +1,11 @@
<?php
namespace Elementor\Modules\Variables\Storage\Exceptions;
use Exception;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class FatalError extends Exception {}

View File

@@ -0,0 +1,11 @@
<?php
namespace Elementor\Modules\Variables\Storage\Exceptions;
use Exception;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class RecordNotFound extends Exception {}

View File

@@ -0,0 +1,11 @@
<?php
namespace Elementor\Modules\Variables\Storage\Exceptions;
use Exception;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Type_Mismatch extends Exception {}

View File

@@ -0,0 +1,11 @@
<?php
namespace Elementor\Modules\Variables\Storage\Exceptions;
use Exception;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class VariablesLimitReached extends Exception {}