Skip to content

Kirby 5.0.4

$errorPageException->getHttpCode()

Returns the HTTP code that corresponds with the exception

$errorPageException->getHttpCode(): int

Return type

int

This method modifies the existing $errorpageexception object it is applied to and returns it again.

Parent class

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