Skip to content

Kirby 4.4.1

$duplicateexception->getHttpCode()

Returns the HTTP code that corresponds with the exception

$duplicateexception->getHttpCode(): int

Return type

int

Parent class

Kirby\Exception\DuplicateException inherited from Kirby\Exception\Exception