InvalidComponentProps
The props a component was given cannot be painted as declared — named, so a host answers 422 with the reason instead of a 500, or a page that looks empty and reads as «nothing here». `$path` points at the failing prop the way a screen declaration names it (`props.roles.body`), so the refusal says WHERE as well as why.
InvalidComponentProps::__construct()
public function __construct(string $path, string $reason):Parameters
| Name | Type | Description |
|---|---|---|
| $path | string | |
| $reason | string |