Skip to content
docs

PluginBootException

Thrown when a plugin's boot() method fails during application bootstrap (e.g. a missing service, a misconfigured dependency, or an unrecoverable setup error raised by the plugin itself).

PluginBootException::forPlugin()

public static function forPlugin(string $name, string $reason): self

Builds the exception for a plugin that failed to boot.

Parameters

Parámetros de forPlugin()
NombreTipoDescripción
$namestringName of the plugin that failed to boot
$reasonstringHuman-readable reason for the failure