The doc comment array<class-string<\Throwable>> at position 2 could not be parsed: Unknown type name 'class-string' at position 2 in array<class-string<\Throwable>>.
Loading history...
22
public function __construct(
23
private array $exception_names,
24
private AsyncLoopMiddlewareInterface $chain
25
) {
26
}
27
28
public function invoke(): \Generator
29
{
30
try {
31
yield from $this->chain->invoke();
32
} catch (\Throwable $e) {
33
foreach ($this->exception_names as $exception_name) {