class ViewException extends FrameworkException

Handles exceptions related to views/layouts. Extends the FrameworkException class.

Methods

__construct(string $message = '', Throwable|null $previous = null)

Create a new exception to handle faults related to rendering content.

Details

at line 17
__construct(string $message = '', Throwable|null $previous = null)

Create a new exception to handle faults related to rendering content.

Parameters

string $message

Optional short message to describe what happened.

Throwable|null $previous

Optional underlying cause for exception chaining.