# error.IdParseError

- **Module:** error
- **Package:** libtmux
- **Language:** Rust
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/error.rs#L355
- **Page:** https://libtmux.org/en/rs/latest/reference/error-idparseerror/

An invalid scope-specific tmux object ID.

The error records the expected sigil but never retains the rejected input.

## Example

```rust
use libtmux::SessionId;

// The sigil is the whole difference between the id types, so a mistake
// names the one that was expected.
let error = "@1".parse::<SessionId>().expect_err("@ denotes a window");
assert_eq!(error.expected_sigil(), '$');
```

## Members

- `expected_sigil` (method): Return the sigil required by the requested ID scope.
