Skip to content

Kirby 4.1.2

$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