Skip to content

Kirby 5.0.4

$logicException->getHttpCode()

Returns the HTTP code that corresponds with the exception

$logicException->getHttpCode(): int

Return type

int

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

Parent class

Kirby\Exception\LogicException inherited from Kirby\Exception\Exception