# error.Error.AmbiguousLayout

- **Module:** error.Error
- **Package:** libtmux
- **Language:** Rust
- **Kind:** constant
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/error.rs#L723
- **Page:** https://libtmux.org/en/rs/latest/reference/error-error-ambiguouslayout/

A saved layout value is a preset prefix that names more than one preset on the running tmux release.

tmux's own `layout_set_lookup` accepts a unique prefix (`tile` and
`even-h` both apply cleanly on every supported release), so refusing
every prefix would reject values tmux itself understands. An
ambiguous one is refused before dispatch instead of leaving tmux to
pick one silently. The candidates are only the presets available on
the running release: `main-h` is unique on tmux 3.2a and ambiguous
from 3.5, where the mirrored pair exists.
