Skip to content

Kirby 4.2.0

$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