stash light

This commit is contained in:
team 1
2026-02-12 10:03:52 +01:00
parent 5b650a8f28
commit 0bb0c0b42f
51 changed files with 6864 additions and 72 deletions

View File

@@ -0,0 +1,34 @@
<?php
declare(strict_types=1);
namespace App\Index;
/**
* Wird geworfen, wenn lokale Ingests nicht mehr kompatibel sind
* und ein Global Reindex erzwungen werden muss.
*/
final class IndexStructureChangedException extends \RuntimeException
{
/**
* @param array<string,mixed> $diff
*/
public function __construct(
string $message,
private readonly array $diff = [],
int $code = 0,
?\Throwable $previous = null
)
{
parent::__construct($message, $code, $previous);
}
/**
* @return array<string,mixed>
*/
public function getDiff(): array
{
return $this->diff;
}
}