Skip to content

Kirby 6.0.0

$abilityException->getHttpCode()

Returns the HTTP code that corresponds with the exception

$abilityException->getHttpCode(): int

Return type

int

Parent class

Kirby\Exception\AbilityException inherited from Kirby\Exception\Exception