/Engine/Source/Runtime/Engine/Classes/Engine/World.h
Log error and close connection for prelogin failures.
bool PreLoginCheckError ( [UNetConnection](API\Runtime\Engine\Engine\UNetConnection) * Connection, const [FString](API\Runtime\Core\Containers\FString) & ErrorMsg )