Skip to content

Kirby 4.2.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