SsrRenderFailed
class SsrRenderFailed
Traits
Methods
Dispatch the event with the given arguments.
Dispatch the event with the given arguments if the given truth test passes.
Dispatch the event with the given arguments unless the given truth test passes.
Broadcast the event with the given arguments.
Create a new event instance.
Get the component name from the page data.
Get the URL from the page data.
Convert the event to an array for logging.
Details
in
Dispatchable at line 14
static mixed
dispatch(mixed ...$arguments)
Dispatch the event with the given arguments.
in
Dispatchable at line 22
static mixed
dispatchIf(bool $boolean, mixed ...$arguments)
Dispatch the event with the given arguments if the given truth test passes.
in
Dispatchable at line 30
static mixed
dispatchUnless(bool $boolean, mixed ...$arguments)
Dispatch the event with the given arguments unless the given truth test passes.
in
Dispatchable at line 38
static PendingBroadcast
broadcast(mixed ...$arguments)
Broadcast the event with the given arguments.
at line 24
__construct(array $page, string $error, SsrErrorType $type = SsrErrorType::Unknown, string|null $hint = null, string|null $browserApi = null, string|null $stack = null, string|null $sourceLocation = null)
Create a new event instance.
at line 38
string
component()
Get the component name from the page data.
at line 46
string
url()
Get the URL from the page data.
at line 56
array
toArray()
Convert the event to an array for logging.