class SsrException extends Exception

Properties

SsrRenderFailed|null $event

The SSR render failed event containing error details.

Methods

static SsrException
fromEvent(SsrRenderFailed $event)

Create a new SSR exception from a render failure event.

string|null
component()

Get the component that failed to render.

SsrErrorType|null
type()

Get the error type.

string|null
hint()

Get the hint for fixing the error.

string|null
sourceLocation()

Get the source location where the error occurred.

Details

at line 14
static SsrException fromEvent(SsrRenderFailed $event)

Create a new SSR exception from a render failure event.

Parameters

SsrRenderFailed $event

Return Value

SsrException

at line 40
string|null component()

Get the component that failed to render.

Return Value

string|null

at line 48
SsrErrorType|null type()

Get the error type.

Return Value

SsrErrorType|null

at line 56
string|null hint()

Get the hint for fixing the error.

Return Value

string|null

at line 64
string|null sourceLocation()

Get the source location where the error occurred.

Return Value

string|null