public static function lastProcessedEventDoesNotExist(Snapshot $snapshot)
11
{
12
return new static("Snapshot {$snapshot->fileName()} was taken for a non-existing stored event with id `{$snapshot->lastProcessedEventId()}`. Make sure a stored event with that id exists.");
13
}
14
15
public static function projectorDoesNotExist(Snapshot $snapshot)
16
{
17
return new static("Snapshot `{$snapshot->fileName()}` was taken for a projector named `{$snapshot->projectorName()}` but no such projector was found. Make sure you add all projectors to the EventProjectionist.");