Leomund's tiny hut creates a dome-shaped barrier with a radius of 10 feet. This means that the dome is 20 feet wide in all directions, and the top of the dome is 10 feet above ground level.
Suppose I am a traveling wizard who feels that the inn where I am renting a room does not provide adequate security, and I'd feel much safer if I could put up my tiny hut in my room before going to bed. Unfortunately, the room is only 15 feet wide and the ceiling is 8 feet high, which means my tiny hut is not quite tiny enough for the room.
What happens when I attempt to cast Leomund's tiny hut in this enclosed space? Does the spell fail? Does the barrier extend through the walls, possibly inconveniencing the people in neighboring rooms? Or does something else happen?