Duolith docs

Errors E0200 to E0299

E0242 Fallback outside a boundary

Message <fallback> must sit directly inside a <boundary>

Why

A fallback is what a boundary shows when its other children fail, so it belongs to the boundary directly around it.

How to fix it

Move it straight inside the <boundary> it stands in for, or remove it.

In a terminal

duolith explain E0242

Mentioned in