Skip to content

Kirby 4.3.0

$exception->getHttpCode()

Returns the HTTP code that corresponds with the exception

$exception->getHttpCode(): int

Return type

int

Parent class

Kirby\Exception\Exception