Skip to content

Kirby 4.4.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