Skip to content

Kirby 6.0.1

$badMethodCallException->getHttpCode()

Returns the HTTP code that corresponds with the exception

$badMethodCallException->getHttpCode(): int

Return type

int

Parent class

Kirby\Exception\BadMethodCallException inherited from Kirby\Exception\Exception