Skip to content

Kirby 4.5.0

$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