PluginInstallException
Thrown when installing or updating a plugin from a remote source (e.g. GitHub) fails — download failure, manifest error, or an unresolvable release.
PluginInstallException::forSource()
public static function forSource(string $source, string $reason): selfBuilds the exception for a plugin that failed to install from a source.
Parameters
| Nombre | Tipo | Descripción |
|---|---|---|
| $source | string | Remote source the plugin was installed from (e.g. "owner/repo", "owner/repo:^2.0", or a GitHub URL) |
| $reason | string | Human-readable reason for the failure |