class CouldNotParseBladeXComponent extends Exception
9
{
10
public static function invalidHtml(string $componentHtml, BladeXComponent $bladeXComponent, Exception $previousException)
11
{
12
return new static("Could not parse a usage of BladeX component `{$bladeXComponent->name}` that uses the `{$bladeXComponent->bladeViewName}` view because of invalid html. Html found: `{$componentHtml}`.", 0, $previousException);