aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/plugin-stub-generator/src/GenerationError.php
blob: c85bede4bad0eb4c54513e30b874a13f1b5ad87b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

declare(strict_types=1);

namespace Shirabe\PluginStubGenerator;

final class GenerationError extends \RuntimeException
{
    /** @param list<string> $errors */
    public function __construct(public readonly array $errors)
    {
        parent::__construct(implode("\n", $errors));
    }
}