$exception->getHttpCode()
Returns the HTTP code that corresponds with the exception
$exception->getHttpCode(): int
Return type
int
This method modifies the existing $exception object it is applied to and returns it again.
Returns the HTTP code that corresponds with the exception
$exception->getHttpCode(): int
int
This method modifies the existing $exception object it is applied to and returns it again.