Adventure games I've played in the past would usually indicate somehow that you've chosen a wrong path. Likely with a large "GAME OVER" message
In games where you could step out of the map and fall out of the world or step through the walls meant to be solid and skip a part or get stuck
without an option to turn back and choose a different path were considered to be bugged.
I'm not talking about the indie games I've played since I joined F95. I'm talking about all the adventure games way-way back, would they be in 3D (like Unreal series, for example) or even older, text-based adventures where you could go N, E, S, W, pick up stuff and "fight" trolls. Getting stuck without an option to turn back or getting killed has always been considered a bug.
At least in games where you could get killed and got stuck somewhere, you might of had an option to "commit suicide" to get unstuck.
As a programmer, you have to be able to see all the possibilities and code your product to be resistant to wrongful inputs. These games are definitely not.