Skip to content

Kirby 5.0.4

$permissionException->getHttpCode()

Returns the HTTP code that corresponds with the exception

$permissionException->getHttpCode(): int

Return type

int

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

Parent class

Kirby\Exception\PermissionException inherited from Kirby\Exception\Exception