Skip to content

Kirby 6.0.0

$errorPageException->getHttpCode()

Returns the HTTP code that corresponds with the exception

$errorPageException->getHttpCode(): int

Return type

int

Parent class

Kirby\Exception\ErrorPageException inherited from Kirby\Exception\Exception