mini\Http\ErrorHandler::renderExceptionPage() Method

public static

Signature

public static function renderExceptionPage(Throwable $e, int $statusCode): string

Parameters

Name Type Default Description
$e Throwable required Documentation missing
$statusCode int required Documentation missing

Returns

string

Documentation

Render exception as HTML response body

Source

src/Http/ErrorHandler.php:25-42