Skip to content

Kirby 5.0.4

$notFoundException->getHttpCode()

Returns the HTTP code that corresponds with the exception

$notFoundException->getHttpCode(): int

Return type

int

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

Parent class

Kirby\Exception\NotFoundException inherited from Kirby\Exception\Exception